Commit fd45d884 authored by Johan Pascal's avatar Johan Pascal

Fix compile on arm_32

parent a59d1045
......@@ -10,7 +10,7 @@
static __inline__ __attribute((always_inline,unused))
uint32_t word_is_zero(uint32_t a) {
uint32_t ret;
asm("subs %0, %1, #1;\n\tsbc %0, %0, %0" : "=r"(ret) : "r"(a) : "cc");
__asm__("subs %0, %1, #1;\n\tsbc %0, %0, %0" : "=r"(ret) : "r"(a) : "cc");
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment