You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 21/10/2018, at 7:22 AM, Shadlock0133 ***@***.***> wrote:
make test-sim
make test-sys
rv-jit build/riscv64-unknown-elf/bin/test-dhrystone
All of them crash with an error message illegal hardware instruction (core dumped)
I'm guessing jit emits instructions from sse3 or higher.
Cpu: Intel(R) Core(TM)2 Duo CPU T5900 @ 2.20GHz with flags fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm
It is most likely RDTSCP. The use of RDTSCP can be disabled at compile time by adding -DX86_NO_RDTSCP to CFLAGS in the Makefile.
It would be possible to do a runtime initialisation check of CPUID.80000001H:EDX.RDTSCP[bit 27] and fall back to RDTSC.
make test-sim
make test-sys
rv-jit build/riscv64-unknown-elf/bin/test-dhrystone
All of them crash with an error message
illegal hardware instruction (core dumped)
I'm guessing jit emits instructions from sse3 or higher.
Cpu: Intel(R) Core(TM)2 Duo CPU T5900 @ 2.20GHz with flags
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm
Edit: It looks like it crashes here on
__asm__ volatile ("rdtscp\n" : "=a" (a), "=d" (d));
The text was updated successfully, but these errors were encountered: