Conversation
|
r? @sayantn rustbot has assigned @sayantn. Use Why was this reviewer chosen?The reviewer was selected based on:
|
1cb89c2 to
d9ca05f
Compare
| ); | ||
|
|
||
| assert_eq!(r, mem::transmute(__msa_addvi_b(mem::transmute(a), 67))); | ||
| assert_eq!(r, mem::transmute(__msa_addvi_b::<3>(mem::transmute(a)))); |
There was a problem hiding this comment.
what's happening here?
There was a problem hiding this comment.
ah 3 == 67 % 64, and this function uses static_assert_uimm_bits!(IMM5, 5);
|
For some reason I can't run the mips tests, |
|
I think some of the assert logic might be buggy (across targets)? https://godbolt.org/z/qP74MWvK1 in any case the |
|
Ah, it's signed and that is weird because you need a bit for the sign. Definitely a poor error message in any case. |
|
I had checked Many |
Tests failed to build due to use of legacy const generics syntax, out-of-bounds immediates and incorrect name of const generics in `assert_instr`
|
Windows job failing, unrelated I believe |
|
yes it's unrelated rust-lang/rust#155277 |
Fair enough. Did anything in particular cause you to look at this? (the changes look fine to me, so I think we should just merge this when CI works again with the next nightly) |
|
We removed the CI jobs for these targets, but probably should just still have them but make them not blocking for PRs? Then at least we know when they are broken and can occasionally fix them. |
Tests failed to build due to use of legacy const generics syntax, out-of-bounds immediates and incorrect name of const generics in
assert_instr