Clang 3.9 complains that `fild` is ambiguous with respect to the size of its
memory operand. Specify `fildq` explicitly.
Drop "-no-integrated-as" from the docs, as both Clang 3.5 and 3.9 work fine
with or without it.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Requirements:
- GNU Make >= 3.81
- GNU comaptible toolchain, capable of `-std=gnu99`, `-m64`, and `-m32`
- - Clang may be used, via `CC="clang -no-integrated-as"`
+ - Clang may be used, via `CC="clang"`
- Python
To obtain and build:
asm volatile ("test %[fep], %[fep];"
"jz 1f;"
_ASM_XEN_FEP
- "1: fild %[ptr]; 2:"
+ "1: fildq %[ptr]; 2:"
_ASM_EXTABLE_HANDLER(1b, 2b, ex_record_fault_eax)
: "+a" (fault)
: [ptr] "m" (zero),