I'm writing some code for a small kernel. I'm using QEMU to test the result:
qemu-system-x86_64 -enable-kvm -m 2048 -cpu host,+topoext -smp cores=8 -cdrom $(ISO_FILE) -vga cirrus -serial file:tmp/qemu-log.txt -D ./tmp/qemu-debug.txt -d in_asm &
With any double or float declaration (!) in the code:
double blabla = 1.23;
the emulation just stops in front of the declaration.
I removed the double declaration:
//double blabla = 1.23;
and the processing runs to the end as expected.
I tried adding flag to QEMU such as
+fpu
but without the expected result (code to be emulated with floating point declaration.