Support compilation with integrated clang assembler sandbox/nmerinov/llvm
authorNikolai Merinov <n.merinov@samsung.com>
Thu, 24 Jan 2019 15:55:39 +0000 (18:55 +0300)
committerNikolai Merinov <n.merinov@samsung.com>
Thu, 24 Jan 2019 15:55:42 +0000 (18:55 +0300)
Integrated LLVM assembler does not understand "stmeqia" command,
replace it with "stmiaeq" with flag checks at the end of command.

src/arm/sysv.S

index 541bbe92300219fe3cbecc1e52c8e788449aaeaa..c2b9f0e76c778cf4a7994aea2c4a1eee735043b7 100644 (file)
@@ -396,7 +396,7 @@ LSYM(Lbase_args):
        beq     LSYM(Lepilogue_vfp)
 
        cmp     r3, #FFI_TYPE_SINT64
-       stmeqia r2, {r0, r1}
+       stmiaeq r2, {r0, r1}
        beq     LSYM(Lepilogue_vfp)
 
        cmp     r3, #FFI_TYPE_FLOAT