Files
ladybird/Libraries/LibJS/AsmIntGen
Andreas Kling 949454feb9 AsmIntGen: Pin {INT32,BOOLEAN,NAN_BASE}_TAG in callee-saved registers
These three tag constants (0x7FFA, 0x7FF9, 0x7FF8) exceed the 12-bit
cmp immediate range on aarch64, so every comparison required a mov+cmp
pair. Pin them in x22, x23, x24 (callee-saved, previously unused) to
turn ~160 two-instruction sequences into single cmp instructions.
2026-03-08 23:04:55 +01:00
..