Differences From Artifact [bed2f1a908]:
- File src/runtime/lookup-asm/lookup-asm-arm64-elf.S — part of check-in [d73a388eca] at 2024-02-24 21:08:39 on branch 1.0 — Add bti instructions (user: js, size: 2133) [annotate] [blame] [check-ins using] [more...]
To Artifact [3e4b869d59]:
- File
src/runtime/lookup-asm/lookup-asm-arm64-elf.S
— part of check-in
[21244a7e62]
at
2024-02-24 22:30:47
on branch 1.0
— Use `bti c` instead of `bti jc`
The `j` isn't necessary, as tail call eliminations can just use x16/x17,
which allow any type. (user: js, size: 2131) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
22 23 24 25 26 27 28 | .globl objc_msg_lookup_super .globl objc_msg_lookup_super_stret .section .text .macro GENERATE_LOOKUP name notFound \name: #ifdef HAVE_BTI | | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | .globl objc_msg_lookup_super .globl objc_msg_lookup_super_stret .section .text .macro GENERATE_LOOKUP name notFound \name: #ifdef HAVE_BTI bti c #endif cbz x0, returnNilMethod tst x0, #1 b.ne .LtaggedPointer_\name |
︙ | ︙ | |||
69 70 71 72 73 74 75 | .type \name, %function .size \name, .-\name .endm .macro GENERATE_LOOKUP_SUPER name lookup \name: #ifdef HAVE_BTI | | | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | .type \name, %function .size \name, .-\name .endm .macro GENERATE_LOOKUP_SUPER name lookup \name: #ifdef HAVE_BTI bti c #endif mov x2, x0 ldr x0, [x0] cbz x0, returnNilMethod ldr x2, [x2, #8] |
︙ | ︙ |