Differences From Artifact [0b31617db4]:
- File src/runtime/lookup-asm/lookup-asm-arm64-elf.S — part of check-in [5c0891c85d] at 2024-02-24 21:07:41 on branch trunk — Add bti instructions (user: js, size: 2143) [annotate] [blame] [check-ins using]
To Artifact [9cc1ea565d]:
- File
src/runtime/lookup-asm/lookup-asm-arm64-elf.S
— part of check-in
[ddb7ebcf5b]
at
2024-02-24 22:30:06
on branch trunk
— 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: 2141) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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, .LreturnNilMethod 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, .LreturnNilMethod ldr x2, [x2, #8] |
︙ | ︙ |