dfd1b81274
accel/tcg: Introduce translator_io_start
...
New wrapper around gen_io_start which takes care of the USE_ICOUNT
check, as well as marking the DisasContext to end the TB.
Remove exec/gen-icount.h.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2023-06-05 12:04:29 -07:00
65bfaaae6a
target/loongarch: Fix the vinsgr2vr/vpickve2gr instructions cause system coredump
...
The vinsgr2vr/vpickve2gr instructions need use get_src/get_dst to get
gpr registers value, not cpu_gpr[]. The $zero register does not
have cpu_gpr[0] allocated.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1662
Signed-off-by: Song Gao <gaosong@loongson.cn >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20230525120005.2223413-1-gaosong@loongson.cn >
2023-05-26 17:21:16 +08:00
4854bbbe01
target/loongarch: Use {set/get}_gpr replace to cpu_fpr
...
Introduce set_fpr() and get_fpr() and remove cpu_fpr.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-44-gaosong@loongson.cn >
2023-05-06 11:19:50 +08:00
29bb5d727f
target/loongarch: Implement vldi
...
This patch includes:
- VLDI.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-43-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
843b627a39
target/loongarch: Implement vld vst
...
This patch includes:
- VLD[X], VST[X];
- VLDREPL.{B/H/W/D};
- VSTELM.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-42-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
e93dd43147
target/loongarch: Implement vilvl vilvh vextrins vshuf
...
This patch includes:
- VILV{L/H}.{B/H/W/D};
- VSHUF.{B/H/W/D};
- VSHUF4I.{B/H/W/D};
- VPERMI.W;
- VEXTRINS.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-41-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
d5e5563cb3
target/loongarch: Implement vreplve vpack vpick
...
This patch includes:
- VREPLVE[I].{B/H/W/D};
- VBSLL.V, VBSRL.V;
- VPACK{EV/OD}.{B/H/W/D};
- VPICK{EV/OD}.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-40-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
cdbdefbf5a
target/loongarch: Implement vinsgr2vr vpickve2gr vreplgr2vr
...
This patch includes:
- VINSGR2VR.{B/H/W/D};
- VPICKVE2GR.{B/H/W/D}[U];
- VREPLGR2VR.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-39-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
d0dfa19a7b
target/loongarch: Implement vbitsel vset
...
This patch includes:
- VBITSEL.V;
- VBITSELI.B;
- VSET{EQZ/NEZ}.V;
- VSETANYEQZ.{B/H/W/D};
- VSETALLNEZ.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-38-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
386c4e86d0
target/loongarch: Implement vfcmp
...
This patch includes:
- VFCMP.cond.{S/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-37-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
f435e1e5af
target/loongarch: Implement vseq vsle vslt
...
This patch includes:
- VSEQ[I].{B/H/W/D};
- VSLE[I].{B/H/W/D}[U];
- VSLT[I].{B/H/W/D/}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-36-gaosong@loongson.cn >
2023-05-06 11:19:49 +08:00
399665d2af
target/loongarch: Implement LSX fpu fcvt instructions
...
This patch includes:
- VFCVT{L/H}.{S.H/D.S};
- VFCVT.{H.S/S.D};
- VFRINT[{RNE/RZ/RP/RM}].{S/D};
- VFTINT[{RNE/RZ/RP/RM}].{W.S/L.D};
- VFTINT[RZ].{WU.S/LU.D};
- VFTINT[{RNE/RZ/RP/RM}].W.D;
- VFTINT[{RNE/RZ/RP/RM}]{L/H}.L.S;
- VFFINT.{S.W/D.L}[U];
- VFFINT.S.L, VFFINT{L/H}.D.W.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-35-gaosong@loongson.cn >
2023-05-06 11:19:48 +08:00
aca67472d2
target/loongarch: Implement LSX fpu arith instructions
...
This patch includes:
- VF{ADD/SUB/MUL/DIV}.{S/D};
- VF{MADD/MSUB/NMADD/NMSUB}.{S/D};
- VF{MAX/MIN}.{S/D};
- VF{MAXA/MINA}.{S/D};
- VFLOGB.{S/D};
- VFCLASS.{S/D};
- VF{SQRT/RECIP/RSQRT}.{S/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-34-gaosong@loongson.cn >
2023-05-06 11:19:48 +08:00
ac95a0b975
target/loongarch: Implement vfrstp
...
This patch includes:
- VFRSTP[I].{B/H}.
Acked-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-33-gaosong@loongson.cn >
2023-05-06 11:19:48 +08:00
0b1e67051d
target/loongarch: Implement vbitclr vbitset vbitrev
...
This patch includes:
- VBITCLR[I].{B/H/W/D};
- VBITSET[I].{B/H/W/D};
- VBITREV[I].{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-32-gaosong@loongson.cn >
2023-05-06 11:19:48 +08:00
bb22ee5763
target/loongarch: Implement vpcnt
...
This patch includes:
- VPCNT.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-31-gaosong@loongson.cn >
2023-05-06 11:19:48 +08:00
2e105e12a5
target/loongarch: Implement vclo vclz
...
This patch includes:
- VCLO.{B/H/W/D};
- VCLZ.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-30-gaosong@loongson.cn >
2023-05-06 11:19:48 +08:00
162cd32cfe
target/loongarch: Implement vssrlrn vssrarn
...
This patch includes:
- VSSRLRN.{B.H/H.W/W.D};
- VSSRARN.{B.H/H.W/W.D};
- VSSRLRN.{BU.H/HU.W/WU.D};
- VSSRARN.{BU.H/HU.W/WU.D};
- VSSRLRNI.{B.H/H.W/W.D/D.Q};
- VSSRARNI.{B.H/H.W/W.D/D.Q};
- VSSRLRNI.{BU.H/HU.W/WU.D/DU.Q};
- VSSRARNI.{BU.H/HU.W/WU.D/DU.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-29-gaosong@loongson.cn >
2023-05-06 11:19:48 +08:00
83b3815dbc
target/loongarch: Implement vssrln vssran
...
This patch includes:
- VSSRLN.{B.H/H.W/W.D};
- VSSRAN.{B.H/H.W/W.D};
- VSSRLN.{BU.H/HU.W/WU.D};
- VSSRAN.{BU.H/HU.W/WU.D};
- VSSRLNI.{B.H/H.W/W.D/D.Q};
- VSSRANI.{B.H/H.W/W.D/D.Q};
- VSSRLNI.{BU.H/HU.W/WU.D/DU.Q};
- VSSRANI.{BU.H/HU.W/WU.D/DU.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-28-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
a5200a17c9
target/loongarch: Implement vsrlrn vsrarn
...
This patch includes:
- VSRLRN.{B.H/H.W/W.D};
- VSRARN.{B.H/H.W/W.D};
- VSRLRNI.{B.H/H.W/W.D/D.Q};
- VSRARNI.{B.H/H.W/W.D/D.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-27-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
d79fb8ddcd
target/loongarch: Implement vsrln vsran
...
This patch includes:
- VSRLN.{B.H/H.W/W.D};
- VSRAN.{B.H/H.W/W.D};
- VSRLNI.{B.H/H.W/W.D/D.Q};
- VSRANI.{B.H/H.W/W.D/D.Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-26-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
ecb9371675
target/loongarch: Implement vsrlr vsrar
...
This patch includes:
- VSRLR[I].{B/H/W/D};
- VSRAR[I].{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-25-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
9b21a7a510
target/loongarch: Implement vsllwil vextl
...
This patch includes:
- VSLLWIL.{H.B/W.H/D.W};
- VSLLWIL.{HU.BU/WU.HU/DU.WU};
- VEXTL.Q.D, VEXTL.QU.DU.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-24-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
b281d6961d
target/loongarch: Implement vsll vsrl vsra vrotr
...
This patch includes:
- VSLL[I].{B/H/W/D};
- VSRL[I].{B/H/W/D};
- VSRA[I].{B/H/W/D};
- VROTR[I].{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-23-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
f205a539f6
target/loongarch: Implement LSX logic instructions
...
This patch includes:
- V{AND/OR/XOR/NOR/ANDN/ORN}.V;
- V{AND/OR/XOR/NOR}I.B.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-22-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
789f4a4c86
target/loongarch: Implement vmskltz/vmskgez/vmsknz
...
This patch includes:
- VMSKLTZ.{B/H/W/D};
- VMSKGEZ.B;
- VMSKNZ.B.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-21-gaosong@loongson.cn >
2023-05-06 11:19:47 +08:00
f0e395dfb0
target/loongarch: Implement vsigncov
...
This patch includes:
- VSIGNCOV.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-20-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
3734ad9370
target/loongarch: Implement vexth
...
This patch includes:
- VEXTH.{H.B/W.H/D.W/Q.D};
- VEXTH.{HU.BU/WU.HU/DU.WU/QU.DU}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-19-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
cbe44190cc
target/loongarch: Implement vsat
...
This patch includes:
- VSAT.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-18-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
4cc4c0f78b
target/loongarch: Implement vdiv/vmod
...
This patch includes:
- VDIV.{B/H/W/D}[U];
- VMOD.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-17-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
d3aec65bc1
target/loongarch: Implement vmadd/vmsub/vmaddw{ev/od}
...
This patch includes:
- VMADD.{B/H/W/D};
- VMSUB.{B/H/W/D};
- VMADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VMADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-16-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
cd1c49ada0
target/loongarch: Implement vmul/vmuh/vmulw{ev/od}
...
This patch includes:
- VMUL.{B/H/W/D};
- VMUH.{B/H/W/D}[U];
- VMULW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VMULW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-15-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
9ab29520f7
target/loongarch: Implement vmax/vmin
...
This patch includes:
- VMAX[I].{B/H/W/D}[U];
- VMIN[I].{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-14-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
af448cb31a
target/loongarch: Implement vadda
...
This patch includes:
- VADDA.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-13-gaosong@loongson.cn >
2023-05-06 11:19:46 +08:00
4972565967
target/loongarch: Implement vabsd
...
This patch includes:
- VABSD.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-12-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
39e9b0a741
target/loongarch: Implement vavg/vavgr
...
This patch includes:
- VAVG.{B/H/W/D}[U];
- VAVGR.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-11-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
2d5f950c05
target/loongarch: Implement vaddw/vsubw
...
This patch includes:
- VADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VSUBW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-10-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
c037fbc97d
target/loongarch: Implement vhaddw/vhsubw
...
This patch includes:
- VHADDW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU};
- VHSUBW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-9-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
a94cb91107
target/loongarch: Implement vsadd/vssub
...
This patch includes:
- VSADD.{B/H/W/D}[U];
- VSSUB.{B/H/W/D}[U].
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-8-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
be9ec55758
target/loongarch: Implement vneg
...
This patch includes;
- VNEG.{B/H/W/D}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-7-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
d8be64c1c5
target/loongarch: Implement vaddi/vsubi
...
This patch includes:
- VADDI.{B/H/W/D}U;
- VSUBI.{B/H/W/D}U.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-6-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
57b4f1ac18
target/loongarch: Implement vadd/vsub
...
This patch includes:
- VADD.{B/H/W/D/Q};
- VSUB.{B/H/W/D/Q}.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-5-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
a3f3db5cda
target/loongarch: Add CHECK_SXE maccro for check LSX enable
...
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-4-gaosong@loongson.cn >
2023-05-06 11:19:45 +08:00
a0c9400a5b
target/loongarch: meson.build support build LSX
...
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Song Gao <gaosong@loongson.cn >
Message-Id: <20230504122810.4094787-3-gaosong@loongson.cn >
2023-05-06 11:19:44 +08:00
34aac056a4
target/loongarch: Drop tcg_temp_free
...
Translators are no longer required to free tcg temporaries.
Reviewed-by: Song Gao <gaosong@loongson.cn >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2023-03-05 13:44:07 -08:00
60a7e25ea2
target/loongarch: Drop temp_new
...
Translators are no longer required to free tcg temporaries,
therefore there's no need to record temps for later freeing.
Replace the few uses with tcg_temp_new.
Reviewed-by: Song Gao <gaosong@loongson.cn >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2023-03-05 13:44:07 -08:00
c2b618a8c1
target/loongarch: Disassemble jirl properly
...
While jirl shares the same instruction format as bne etc,
it is not assembled the same. In particular, rd is printed
first not second and the immediate is not pc-relative.
Decode into the arg_rr_i structure, which prints correctly.
This changes the "offs" member to "imm", to update translate.
Reviewed-by: WANG Xuerui <git@xen0n.name >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2023-01-23 15:36:36 -10:00
e913bace61
target/loongarch: Fix return value of CHECK_FPE
...
Regarding the patchset v3 has been merged into main line, and not
approved, this patch updates to patchset v4.
Fixes: 2419978c
("target/loongarch: Fix emulation of float-point disable exception")
Link: https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg00808.html
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Rui Wang <wangrui@loongson.cn >
Message-Id: <20221107024526.702297-3-wangrui@loongson.cn >
Signed-off-by: Song Gao <gaosong@loongson.cn >
2022-11-07 10:54:11 +08:00
c8885b8839
target/loongarch: Separate the hardware flags into MMU index and PLV
...
Regarding the patchset v3 has been merged into main line, and not
approved, this patch updates to patchset v4.
Fixes: b4bda200
("target/loongarch: Adjust the layout of hardware flags bit fields")
Link: https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg00808.html
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Rui Wang <wangrui@loongson.cn >
Message-Id: <20221107024526.702297-2-wangrui@loongson.cn >
Signed-off-by: Song Gao <gaosong@loongson.cn >
2022-11-07 10:54:08 +08:00
2419978cb0
target/loongarch: Fix emulation of float-point disable exception
...
We need to emulate it to generate a floating point disable exception
when CSR.EUEN.FPE is zero.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Song Gao <gaosong@loongson.cn >
Signed-off-by: Rui Wang <wangrui@loongson.cn >
Message-Id: <20221104040517.222059-3-wangrui@loongson.cn >
Signed-off-by: Song Gao <gaosong@loongson.cn >
2022-11-04 17:10:53 +08:00