From b69000109b915fbf7e3022da4d8294453dfa3ad5 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Wed, 28 Aug 2024 13:27:22 +0800 Subject: [PATCH] internal/subtle: s390x, not use VLM/VSTM first, should be address mode issue --- internal/subtle/xor_s390x.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/subtle/xor_s390x.s b/internal/subtle/xor_s390x.s index 2c9a320..834385e 100644 --- a/internal/subtle/xor_s390x.s +++ b/internal/subtle/xor_s390x.s @@ -36,14 +36,14 @@ loop_64: tail: CMPBEQ R4, $0, done CMPBLT R4, $32, less_than32 - VLM 0(R2)(R5*1), V0, V1 - //VL 16(R2)(R5*1), V1 - VLM 0(R3)(R5*1), V2, V3 - //VL 16(R3)(R5*1), V3 + VL 0(R2)(R5*1), V0 + VL 16(R2)(R5*1), V1 + VL 0(R3)(R5*1), V2 + VL 16(R3)(R5*1), V3 VX V0, V2, V2 VX V1, V3, V3 - VSTM V2, V3, 0(R1)(R5*1) - //VST V3, 16(R1)(R5*1) + VST V2, 0(R1)(R5*1) + VST V3, 16(R1)(R5*1) LAY 32(R5), R5 SUB $32, R4