FLOSS virtualization hacker, occasional brewer

  • 2 Posts
  • 80 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle
  • QEMU is always going to focus on emulation fidelity first and there are few shortcuts. With floating point the differences aren’t generally in the numbers but in how the NaNs and other edge cases are handled. If you want to execute FP heavy code you should be cross compiling anyway.





  • Pretty much. From v8.0 onwards all the extra features are indicated by id flags. Stuff that is relevant to kernel mode will generally be automatically handled by the kernel patching itself on booting up and in user space some libraries will select appropriately accelerated functions when the ISA extensions are probed. There are a bunch off advisory instructions encoded in the hint space that will be effectively NOPs on older hardware but will enhance execution if run on newer hardware.

    If you want to play with newer instructions have a look at QEMUs “max” CPU.