diff options
| author | Roland Paterson-Jones <[email protected]> | 2024-10-23 14:51:53 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2026-01-13 18:11:30 +0100 |
| commit | 5c1eb24e2c312021c7af4316e5adde53e270311a (patch) | |
| tree | e661a5d0c58d58c0f7fb8fc84dba575a800cc646 /arm64 | |
| parent | 72010791374d3be2ab21ee5ca1146fce2382d88b (diff) | |
If-conversion RFC 4 - x86 only (for now), use cmovXX
Replacement of tiny conditional jump graphlets with
conditional move instructions.
Currently enabled only for x86. Arm64 support using cselXX
will be essentially identical.
Adds (internal) frontend sel0/sel1 ops with flag-specific
backend xselXX following jnz implementation pattern.
Testing: standard QBE, cproc, harec, hare, roland
Diffstat (limited to 'arm64')
| -rw-r--r-- | arm64/targ.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arm64/targ.c b/arm64/targ.c index 4c2643a..8f1e149 100644 --- a/arm64/targ.c +++ b/arm64/targ.c @@ -40,6 +40,7 @@ arm64_memargs(int op) .isel = arm64_isel, \ .abi1 = arm64_abi, \ .emitfn = arm64_emitfn, \ + .cansel = 0, \ Target T_arm64 = { .name = "arm64", |
