On 4/30/20 12:21 AM, LIU Zhiwei wrote: > +FCVT_L_S RISCV 1100000 00010 rs1:5 rm:3 rd:5 1010011 \ > +!constraints { $rd != 2 && $rd != 3 && $rd != 4 && $rm != 6 && $rm != 5 } > + > +FCVT_LU_S RISCV 1100000 00011 rs1:5 rm:3 rd:5 1010011 \ > +!constraints { $rd != 2 && $rd != 3 && $rd != 4 && $rm != 6 && $rm != 5 } > + > +FCVT_S_L RISCV 1101000 00010 rs1:5 rm:3 rd:5 1010011 \ > +!constraints { $rs1 != 2 && $rm != 6 && $rm != 5 } > + > +FCVT_S_LU RISCV 1101000 00011 rs1:5 rm:3 rd:5 1010011 \ > +!constraints { $rs1 != 2 && $rm != 6 && $rm != 5 }
Interesting question here: Do we really want to avoid the reserved rounding modes, or do we want to verify that we raise an invalid operand exception? I guess I'm fine with it either way. r~