invalid combination of opcode and operand
Original Reporter info from Mantis: Nitorami
-
Reporter name:
Original Reporter info from Mantis: Nitorami
- Reporter name:
Description:
With FPUTYPE SSE2, instruction set COREAVX and optimisation level 2, the compiler throws an error
Asm: [vsqrtss xmmreg,xmmreg,mem128] invalid combination of opcode and operands
There seems to be a conflict between AVX instructions and register variable optimisation.
Steps to reproduce:
Compile the attached code with -CfSSE2 -CpCOREAVX -Mobjfpc -O2 -Twin32
Additional information:
CPU-Z reports that my machine supports AVX instruction set.
Mantis conversion info:
- Mantis ID: 33967
- OS: windows
- OS Build: 7&10
- Build: 1.0.12
- Platform: PC
- Version: 3.0.4