Commit 172c4ce
committed
AArch64: Add support for
This commit adds support for the `cmp_xzr` instruction to the A55, A72
uArch model.
This pattern is a variant of cmp using the zero register xzr.
This commit reuses the existing cmp uArch model definition for the
uArch model, and cmp is alias of SUBS, so we reference the SUBS to
model this instruction.
- a55 SWOG SUBS(page: 18/48)
- latency: 2
- Inverse throughput: 2/2 = 1
- ExecutionUnit: SCALAR (ALU0, ALU1)
- a72 SWOG SUBS(page: 8/48)
- latency: 1
- Inverse throughput: 2/2 = 1
- ExecutionUnit: INT (INT0, INT1)
Signed-off-by: willieyz <willie.zhao@chelpis.com>cmp_xzr to the A55, A72 uArch model1 parent 86f8d4c commit 172c4ce
3 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| |||
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
| 446 | + | |
445 | 447 | | |
446 | 448 | | |
447 | 449 | | |
| |||
491 | 493 | | |
492 | 494 | | |
493 | 495 | | |
494 | | - | |
| 496 | + | |
495 | 497 | | |
496 | 498 | | |
497 | 499 | | |
| |||
607 | 609 | | |
608 | 610 | | |
609 | 611 | | |
610 | | - | |
| 612 | + | |
611 | 613 | | |
612 | 614 | | |
613 | 615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
268 | | - | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | | - | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
| |||
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
390 | | - | |
| 391 | + | |
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
0 commit comments