ldc-developers/ldc — Issue #57: scasw opcode not accepted in inline assembler in 64 bit mode
Author: grahampc
Created: 2011-12-21 23:04:28+00:00
State: open

On X86_64 platform with -m64 command line switch the scasw assembler opcode is not accepted.
The error message is:
Error: unknown opcode 'scasw'

Both DMD and GDC accept the scasw opcode (the code produced by these is 0x66 0xaf).

Version:
LLVM D Compiler LDC trunk
based on DMD v2.057 and LLVM 3.0

Platform is Linux 3.1.5-6.fc16.x86_64
Compiled with gcc version 4.6.2 20111027