From 8fad1622a0dd44c5f193fe3b3d7022e9b635d3e9 Mon Sep 17 00:00:00 2001 From: Aditya Mandaleeka Date: Mon, 14 Jan 2019 19:29:13 -0800 Subject: [PATCH] Load ephemeral bounds simultaneously with ldp. --- src/vm/arm64/asmhelpers.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/vm/arm64/asmhelpers.asm b/src/vm/arm64/asmhelpers.asm index 2fa7a46..6f71e52 100644 --- a/src/vm/arm64/asmhelpers.asm +++ b/src/vm/arm64/asmhelpers.asm @@ -485,13 +485,14 @@ ShadowUpdateDisabled CheckCardTable ; Branch to Exit if the reference is not in the Gen0 heap ; - ldr x12, wbs_ephemeral_low + adr x12, wbs_ephemeral_low + ldp x12, x16, [x12] cbz x12, SkipEphemeralCheck + cmp x15, x12 blo Exit - ldr x12, wbs_ephemeral_high - cmp x15, x12 + cmp x15, x16 bhi Exit SkipEphemeralCheck -- 2.7.4