Skip to content

Commit e45e45f

Browse files
committed
Increase the assembly line limit for tile AMX intrinsics
1 parent d2ca2c3 commit e45e45f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

crates/stdarch-test/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) {
172172
// vst1q_p64_x4_nop : #instructions = 33 >= 22 (limit)
173173
"nop" if fnname.contains("vst1q_p64") => 34,
174174

175+
// AMX intrinsics generate a lot of move instructions to load/store the tile registers
176+
// due to Rust ABI
177+
_ if fnname.contains("___tile") => 165,
178+
175179
// Original limit was 20 instructions, but ARM DSP Intrinsics
176180
// are exactly 20 instructions long. So, bump the limit to 22
177181
// instead of adding here a long list of exceptions.

0 commit comments

Comments
 (0)