Skip to content

Commit

Permalink
Merge pull request libffi#457 from NativeScript/bektchiev/fix-arm64-q…
Browse files Browse the repository at this point in the history
…3-q4-args

Fix Q registers parameter passing on ARM64
  • Loading branch information
tromey committed Nov 30, 2018
2 parents a5ea752 + 4a84df4 commit 737d4fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aarch64/ffi.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,10 @@ extend_hfa_type (void *dest, void *src, int h)
" b 1f\n"
" nop\n"
" ldp q16, q17, [%3]\n" /* Q4 */
" ldp q18, q19, [%3, #16]\n"
" ldp q18, q19, [%3, #32]\n"
" b 4f\n"
" ldp q16, q17, [%3]\n" /* Q3 */
" ldr q18, [%3, #16]\n"
" ldr q18, [%3, #32]\n"
" b 3f\n"
" ldp q16, q17, [%3]\n" /* Q2 */
" b 2f\n"
Expand Down

0 comments on commit 737d4fa

Please sign in to comment.