Closed
Bug 2052865
Opened 4 months ago
Closed 4 months ago
[riscv64] Failure in test wasm/binop-divrem-with-constant-riscv64-ion-codegen.js
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
DUPLICATE
of bug 2051600
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox152 | --- | unaffected |
| firefox153 | --- | unaffected |
| firefox154 | --- | affected |
People
(Reporter: csmantle, Unassigned)
References
(Regression)
Details
(Keywords: regression)
The following tests are failing on both riscv64-simulator and native riscv64:
--wasm-compiler=optimizing wasm/binop-divrem-with-constant-riscv64-ion-codegen.js
--setpref=wasm_test_serialization=true wasm/binop-divrem-with-constant-riscv64-ion-codegen.js
--wasm-compiler=optimizing --no-avx wasm/binop-divrem-with-constant-riscv64-ion-codegen.js
One sample output is as follows.
---- codegen-riscv64-test.js: TEST FAILED ----
---- module text
(module
(func (export "f") (param i32) (result i32)
(i32.div_s (local.get 0) (i32.const 0))))
---- actual
0xbb898c6140 ff810113 addi sp, sp, -8
0xbb898c6144 00113023 sd ra, 0(sp)
0xbb898c6148 ff810113 addi sp, sp, -8
0xbb898c614c 00813023 sd fp, 0(sp)
0xbb898c6150 00010413 mv fp, sp
0xbb898c6154 02300e93 li t4, 35
0xbb898c6158 01d39463 bne t2, t4, 8 -> 0xbb898c6160
0xbb898c615c 0280006f j 40 -> 0xbb898c6184
0xbb898c6160 c0035073 csrwi csr_cycle, 0x6
0xbb898c6164 00100073 ebreak
0xbb898c6168 00000013 nop
0xbb898c616c 00000013 nop
0xbb898c6170 ff810113 addi sp, sp, -8
0xbb898c6174 00113023 sd ra, 0(sp)
0xbb898c6178 ff810113 addi sp, sp, -8
0xbb898c617c 00813023 sd fp, 0(sp)
0xbb898c6180 00010413 mv fp, sp
0xbb898c6184 01443823 sd s4, 16(fp)
0xbb898c6188 0005031b sext.w t1, a0
0xbb898c618c 0003029b sext.w t0, t1
0xbb898c6190 c0035073 csrwi csr_cycle, 0x6
0xbb898c6194 00100073 ebreak
0xbb898c6198 00013403 ld fp, 0(sp)
0xbb898c619c 00813083 ld ra, 8(sp)
0xbb898c61a0 01010113 addi sp, sp, 16
0xbb898c61a4 00008067 ret
0xbb898c61a8 00000013 nop
---- expected (initial)
sext\.w t1, a0
sext\.w t0, t1
csrwi csr_cycle, 0x6
ebreak
---- expected (as used)
addi\s+sp,\s+sp,\s+-8
sd\s+ra,\s+0\(sp\)
addi\s+sp,\s+sp,\s+-8
sd\s+fp,\s+0\(sp\)
mv\s+fp,\s+sp
sext\.w\s+t1,\s+a0
sext\.w\s+t0,\s+t1
csrwi\s+csr_cycle,\s+0x6
ebreak
ld\s+fp,\s+0\(sp\)
ld\s+ra,\s+8\(sp\)
addi\s+sp,\s+sp,\s+16
----
/home/mantle/workspace/mozilla-firefox-dev/js/src/jit-test/lib/codegen-test-common.js:104:13 Error: Assertion failed: got false, expected true
Stack:
codegenTestShared_adhoc@/home/mantle/workspace/mozilla-firefox-dev/js/src/jit-test/lib/codegen-test-common.js:104:13
codegenTestRISCV64_adhoc@/home/mantle/workspace/mozilla-firefox-dev/js/src/jit-test/lib/codegen-riscv64-test.js:34:28
@/home/mantle/workspace/mozilla-firefox-dev/js/src/jit-test/tests/wasm/binop-divrem-with-constant-riscv64-ion-codegen.js:98:27
Exit code: 3
FAIL - wasm/binop-divrem-with-constant-riscv64-ion-codegen.js
This is possibly due to the recent Bug 2050735, where this test was first added.
The following mozconfig is used for riscv64-simulator:
mk_add_options AUTOCLOBBER=1
ac_add_options --with-ccache=sccache
ac_add_options --enable-project=js
ac_add_options --enable-debug
ac_add_options --enable-debug-symbols
ac_add_options --enable-optimize
ac_add_options --enable-jit
ac_add_options --enable-wasm-jspi
ac_add_options --enable-simulator=riscv64
ac_add_options --enable-linker=mold
Comment 1•4 months ago
|
||
Set release status flags based on info from the regressing bug 2050735
:anba, since you are the author of the regressor, bug 2050735, could you take a look?
For more information, please visit BugBot documentation.
status-firefox152:
--- → unaffected
status-firefox153:
--- → unaffected
status-firefox154:
--- → affected
status-firefox-esr140:
--- → unaffected
Flags: needinfo?(andrebargull)
Comment 2•4 months ago
|
||
Duplicate of bug 2051600.
Status: NEW → RESOLVED
Closed: 4 months ago
Duplicate of bug: 2051600
Flags: needinfo?(andrebargull)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•