Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HASWELL no such instruction: vpermpd #493

Closed
jeffhammond opened this issue Jan 24, 2015 · 2 comments
Closed

HASWELL no such instruction: vpermpd #493

jeffhammond opened this issue Jan 24, 2015 · 2 comments

Comments

@jeffhammond
Copy link

I am trying to build OpenBLAS (development version downloaded today) on a Haswell-EP system (http://ark.intel.com/products/81061/Intel-Xeon-Processor-E5-2699-v3-45M-Cache-2_30-GHz):

processor   : 71
vendor_id   : GenuineIntel
cpu family  : 6
model       : 63
model name  : Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
stepping    : 2
microcode   : 42
cpu MHz     : 1200.000
cache size  : 46080 KB
physical id : 1
siblings    : 36
core id     : 27
cpu cores   : 18
apicid      : 119
initial apicid  : 119
fpu     : yes
fpu_exception   : yes
cpuid level : 15
wp      : yes
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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid
bogomips    : 4589.07
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

I am using Intel 15.

icc -v
icc version 15.0.1 (gcc version 4.9.0 compatibility)

The OS is CentOS 6:

Linux esgmonster 2.6.32-504.3.3.el6.centos.plus.x86_64 #1 SMP Wed Dec 17 01:21:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

This is an excerpt of the error:

make[1]: *** [dtrmm_kernel_RN.o] Error 1
/tmp/iccUKt2X7.s: Assembler messages:
/tmp/iccUKt2X7.s:745: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:745: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:745: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:746: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:746: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:746: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:747: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:747: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:747: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:748: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:748: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:748: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:749: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:749: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:749: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:750: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:750: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:750: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:751: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:751: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:751: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:752: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:752: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:752: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:757: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:757: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:757: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:758: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:758: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:758: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:759: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:759: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:759: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:760: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:760: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:760: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:761: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:761: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:761: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:762: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:762: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:762: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:763: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:763: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:763: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:764: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:764: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:764: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:768: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:768: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:768: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:769: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:769: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:769: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:770: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:770: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:770: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:771: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:771: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:771: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:772: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:772: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:772: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:773: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:773: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:773: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:774: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:774: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:774: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:775: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:775: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:775: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:780: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:780: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:780: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:781: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:781: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:781: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:782: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:782: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:782: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:783: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:783: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:783: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:784: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:784: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:784: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:785: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:785: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:785: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:786: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:786: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:786: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:787: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:787: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:787: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:797: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:797: Error: no such instruction: `vpermpd $ 0x1b,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:797: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0'
/tmp/iccUKt2X7.s:802: Error: no such instruction: `vpermpd $ 0xb1,%ymm5,%ymm5'
/tmp/iccUKt2X7.s:802: Error: no such instruction: `vpermpd $ 0xb1,%ymm7,%ymm7'
/tmp/iccUKt2X7.s:802: Error: no such instruction: `vpermpd $ 0x1b,%ymm2,%ymm2'
/tmp/iccUKt2X7.s:802: Error: no such instruction: `vpermpd $ 0x1b,%ymm3,%ymm3'
/tmp/iccUKt2X7.s:802: Error: no such instruction: `vpermpd $ 0xb1,%ymm2,%ymm2'
/tmp/iccUKt2X7.s:802: Error: no such instruction: `vpermpd $ 0xb1,%ymm3,%ymm3'
make[1]: *** [dgemm_kernel.o] Error 1
make[1]: *** [dtrmm_kernel_RT.o] Error 1
make[1]: Leaving directory `/home/jrhammon/Work/BLAS/OpenBLAS-develop/kernel'
make: *** [libs] Error 1
@jeffhammond
Copy link
Author

It seems I have to update binutils (JuliaLang/julia#7653).

@jeffhammond
Copy link
Author

Binutils 2.25 resolves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant