]> Git Repo - qemu.git/blobdiff - target/loongarch/cpu.c
target/loongarch: Add floating point arithmetic instruction translation
[qemu.git] / target / loongarch / cpu.c
index 1f8e37906a557dfeb1eb0455afb363c43446ff07..95900be25722651bd4b358385a8ec829b2d4b5dc 100644 (file)
@@ -196,6 +196,7 @@ static void loongarch_cpu_reset(DeviceState *dev)
     env->fcsr0_mask = FCSR0_M1 | FCSR0_M2 | FCSR0_M3;
     env->fcsr0 = 0x0;
 
+    restore_fp_status(env);
     cs->exception_index = -1;
 }
 
This page took 0.020116 seconds and 4 git commands to generate.