Skip to content

Commit edff6e9

Browse files
mtbrandyCommit bot
authored andcommitted
[wasm] Fix linkage for PPC.
Floating point param and return registers should be within the compiler's allocatable set. TEST=cctest/test-run-wasm-js/Run_Float64Add_jswrapped [email protected], [email protected], [email protected], [email protected] BUG= Review URL: https://codereview.chromium.org/1714223002 Cr-Commit-Position: refs/heads/master@{#34194}
1 parent ea0530a commit edff6e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/wasm-linkage.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ LinkageLocation stackloc(int i) {
122122
// ===========================================================================
123123
#define GP_PARAM_REGISTERS r3, r4, r5, r6, r7, r8, r9, r10
124124
#define GP_RETURN_REGISTERS r3, r4
125-
#define FP_PARAM_REGISTERS d0, d1, d2, d3, d4, d5, d6, d7
126-
#define FP_RETURN_REGISTERS d0, d1
125+
#define FP_PARAM_REGISTERS d1, d2, d3, d4, d5, d6, d7, d8
126+
#define FP_RETURN_REGISTERS d1, d2
127127

128128
#else
129129
// ===========================================================================

0 commit comments

Comments
 (0)