target/loongarch: Add floating point arithmetic instruction translation
This includes: - F{ADD/SUB/MUL/DIV}.{S/D} - F{MADD/MSUB/NMADD/NMSUB}.{S/D} - F{MAX/MIN}.{S/D} - F{MAXA/MINA}.{S/D} - F{ABS/NEG}.{S/D} - F{SQRT/RECIP/RSQRT}.{S/D} - F{SCALEB/LOGB/COPYSIGN}.{S/D} - FCLASS.{S/D} Signed-off-by:Song Gao <gaosong@loongson.cn> Signed-off-by:
Xiaojuan Yang <yangxiaojuan@loongson.cn> Reviewed-by:
Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220606124333.2060567-11-yangxiaojuan@loongson.cn> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- target/loongarch/cpu.c 1 addition, 0 deletionstarget/loongarch/cpu.c
- target/loongarch/fpu_helper.c 403 additions, 0 deletionstarget/loongarch/fpu_helper.c
- target/loongarch/helper.h 37 additions, 0 deletionstarget/loongarch/helper.h
- target/loongarch/insn_trans/trans_farith.c.inc 105 additions, 0 deletionstarget/loongarch/insn_trans/trans_farith.c.inc
- target/loongarch/insns.decode 52 additions, 0 deletionstarget/loongarch/insns.decode
- target/loongarch/internals.h 2 additions, 0 deletionstarget/loongarch/internals.h
- target/loongarch/translate.c 11 additions, 0 deletionstarget/loongarch/translate.c
Loading
Please register or sign in to comment