VirtualBox

Ticket #15471 (new enhancement)

Opened 5 years ago

Last modified 5 months ago

F16C, FMA and BMI extensions are not supported.

Reported by: KlausErz Owned by:
Component: other Version: VirtualBox 5.0.20
Keywords: F16C FMA BMI AVX2 Cc:
Guest type: all Host type: all

Description

Programs compiled with the Intel Compiler (C or Fortran) for >= Haswell do not run inside a VirtualBox VM (with AVX2 enabled), and immediately exit with the following error message:

Please verify that both the operating system and the processor support Intel(R) F16C, FMA and BMI instructions.

Of course, you can tell the Intel Compiler to generate fallback code, but then AVX2 instructions aren't used either, and the (scientific) program runs much slower.

The AVX2 support in VirtualBox would be even more useful if it was possible to run AVX2 optimized code produced by the Intel Compiler suite.

Attachments

VBox.log Download (110.2 KB) - added by KlausErz 5 years ago.

Change History

comment:1 follow-up: ↓ 2 Changed 5 years ago by frank

I'm not so sure that this is not possible in general but I didn't check. Please attach a VBox.log file of a VM session where you tested that.

Changed 5 years ago by KlausErz

comment:2 in reply to: ↑ 1 Changed 5 years ago by KlausErz

Replying to frank:

I'm not so sure that this is not possible in general but I didn't check. Please attach a VBox.log file of a VM session where you tested that.

Thank you for the quick reply! Attached you find a VBox.log for a 64-bit Linux guest running on a 64-bit Linux host (Broadwell). Here are the CPU flags as seen from the host:

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 pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap xsaveopt dtherm ida arat pln pts

and from the guest:

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch avx2 rdseed

comment:3 Changed 3 years ago by Geraldine

Any plans to implement the missing instructions? It would be useful for scientific software.

comment:4 Changed 3 years ago by MikhailRokhin

Please, add full CPU IvyBridge features support for guests (F16c , FMA , BMI , etc).

comment:5 Changed 5 months ago by JoeHellmers

Any update on this? Or perhaps there is a way to change Motherboard/Procesor/Acceleration options to allow this?

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use