Mercurial > pub > dyncall > dyncall
diff dyncallback/dyncall_callback_ppc64.S @ 357:d982a00c2177
- PPC64 asm syntax fix, specifying explicitly comparison mode for cmpi (newer toolchains complain, older ones took optional field of instruction which happened to be same value)
author | Tassilo Philipp |
---|---|
date | Tue, 25 Feb 2020 18:16:13 +0100 |
parents | 891e8ba15862 |
children |
line wrap: on
line diff
--- a/dyncallback/dyncall_callback_ppc64.S Tue Feb 25 16:07:45 2020 +0100 +++ b/dyncallback/dyncall_callback_ppc64.S Tue Feb 25 18:16:13 2020 +0100 @@ -147,9 +147,9 @@ bctrl /* check result type */ - cmpi cr0, r3, 0x66 /* 'f */ + cmpi cr0, 0, r3, 0x66 /* 'f */ beq .f32 - cmpi cr0, r3, 0x64 /* 'd */ + cmpi cr0, 0, r3, 0x64 /* 'd */ beq .f64 .i64: ld r3, SP_RESULT(r1)