gary-yin
August 10th, 2015, 09:49 AM
ubuntu version: Ubuntu 14.04.2 amd64
Environment: Virtualbox 5.0, Host OS Win8.1 x64
related source code:
asm volatile ("vmovapd ymm0, [rsp]" : : : "ymm0");
compile command: gcc -m64 -masm=intel -o man main.c
error message:
error: unknown register name 'ymm0' in 'asm'
asm volatile ("vmovapd ymm0, [rsp]" : : : "ymm0");
By the way, if I use latest TDM-GCC(gcc 5.1.0) windows version to compile the same source, it's OK!
Environment: Virtualbox 5.0, Host OS Win8.1 x64
related source code:
asm volatile ("vmovapd ymm0, [rsp]" : : : "ymm0");
compile command: gcc -m64 -masm=intel -o man main.c
error message:
error: unknown register name 'ymm0' in 'asm'
asm volatile ("vmovapd ymm0, [rsp]" : : : "ymm0");
By the way, if I use latest TDM-GCC(gcc 5.1.0) windows version to compile the same source, it's OK!