Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Fix typo in smmul & smar64
Browse files Browse the repository at this point in the history
  • Loading branch information
linsinan1995 committed May 17, 2021
1 parent bd7f477 commit 8ded055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcc/config/riscv/rvp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4203,7 +4203,7 @@
(any_extend:DI
(match_operand:SI 3 "register_operand" " r")))))]
"TARGET_ZPSF && !TARGET_64BIT"
"<rvp_su>mar64\t%0, %2, %3"
"<su>mar64\t%0, %2, %3"
[(set_attr "type" "dsp64")
(set_attr "mode" "DI")])

Expand Down Expand Up @@ -4911,7 +4911,7 @@
(sign_extend:DI (match_operand:SI 1 "register_operand" " r"))
(sign_extend:DI (match_operand:SI 2 "register_operand" " r")))
(const_int 32))))]
"TARGET_ZPN && TARGET_64BIT"
"TARGET_ZPN && !TARGET_64BIT"
"smmul\t%0, %1, %2"
[(set_attr "type" "simd")
(set_attr "mode" "HI")])
Expand Down

0 comments on commit 8ded055

Please sign in to comment.