@@ -889,8 +889,8 @@ let Predicates = [HasStdExtP] in {
889889 def PM2ADDSU_H : RVPBinary_rr<0b1100, 0b00, 0b101, "pm2addsu.h">;
890890 def PM4ADDSU_B : RVPBinary_rr<0b1100, 0b10, 0b101, "pm4addsu.b">;
891891
892- def PM2ADDASU_H : RVPBinary_rr <0b1101, 0b00, 0b101, "pm2addasu.h">;
893- def PM4ADDASU_B : RVPBinary_rr <0b1101, 0b10, 0b101, "pm4addasu.b">;
892+ def PM2ADDASU_H : RVPTernary_rrr <0b1101, 0b00, 0b101, "pm2addasu.h">;
893+ def PM4ADDASU_B : RVPTernary_rrr <0b1101, 0b10, 0b101, "pm4addasu.b">;
894894} // Predicates = [HasStdExtP]
895895let Predicates = [HasStdExtP, IsRV32], DecoderNamespace = "RV32Only" in {
896896 def MQACC_H01 : RVPTernary_rrr<0b1111, 0b00, 0b101, "mqacc.h01">;
@@ -925,7 +925,7 @@ let Predicates = [HasStdExtP, IsRV64] in {
925925
926926 def PM2SUB_WX : RVPBinary_rr<0b1010, 0b01, 0b101, "pm2sub.wx">;
927927
928- def PM2SUBA_WX : RVPBinary_rr <0b1011, 0b01, 0b101, "pm2suba.wx">;
928+ def PM2SUBA_WX : RVPTernary_rrr <0b1011, 0b01, 0b101, "pm2suba.wx">;
929929
930930 def PM2ADDSU_W : RVPBinary_rr<0b1100, 0b01, 0b101, "pm2addsu.w">;
931931 def PM4ADDSU_H : RVPBinary_rr<0b1100, 0b11, 0b101, "pm4addsu.h">;
0 commit comments