Skip to content

Commit 8a814c5

Browse files
committed
fix tests
1 parent d02941f commit 8a814c5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
go env -u CXX
143143
144144
- name: go test (Linux ppc64le)
145-
if: ${{ runner.os == 'Linux' && runner.arch != 'ARM64' }}
145+
if: ${{ runner.os == 'Linux' && runner.arch != 'ARM64' && !startsWith(matrix.go, '1.18.') && !startsWith(matrix.go, '1.19.') && !startsWith(matrix.go, '1.20.') && !startsWith(matrix.go, '1.21.') }}
146146
run: |
147147
sudo apt-get update
148148
sudo apt-get install -y gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu qemu-user

internal/fakecgo/asm_ppc64le.s

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
// Rounded to 352 for 16-byte alignment.
2525

2626
#define FIXED_FRAME 32
27-
#define SAVE_SIZE 352
28-
#define GPR_OFFSET (FIXED_FRAME+24)
29-
#define FPR_OFFSET (GPR_OFFSET+SAVE_GPR_SIZE)
27+
#define SAVE_SIZE 352
28+
#define GPR_OFFSET (FIXED_FRAME+24)
29+
#define FPR_OFFSET (GPR_OFFSET+SAVE_GPR_SIZE)
3030

3131
TEXT crosscall2(SB), NOSPLIT|NOFRAME, $0
3232
// Save LR and CR in caller's frame per ELFv2 ABI
@@ -80,4 +80,3 @@ TEXT crosscall2(SB), NOSPLIT|NOFRAME, $0
8080
MOVW R0, CR
8181

8282
RET
83-

0 commit comments

Comments
 (0)