diff --git a/.github/workflows/test_s390x.yaml b/.github/workflows/test_s390x.yaml index cbee2b8..c22eade 100644 --- a/.github/workflows/test_s390x.yaml +++ b/.github/workflows/test_s390x.yaml @@ -14,7 +14,7 @@ jobs: test: strategy: matrix: - go-version: [1.22.x] + go-version: [1.19.x] arch: [s390x] runs-on: ubuntu-latest steps: diff --git a/sm3/sm3blocks_s390x.s b/sm3/sm3blocks_s390x.s index 400a4d7..51463a1 100644 --- a/sm3/sm3blocks_s390x.s +++ b/sm3/sm3blocks_s390x.s @@ -72,8 +72,10 @@ GLOBL mask<>(SB), 8, $64 LAY 16(srcPtrPtr), srcPtrPtr; \ ADD $64, wordPtr +// VREPIF $const, T #define LOAD_T(const, T) \ - VREPIF $32768, T + VLEIF $3, $const, T; \ + VREPF $3, T, T #define ROUND_00_11(index, const, a, b, c, d, e, f, g, h) \ PROLD(a, TMP0, 12) \