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 /rv64/targ.c | |
| 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 'rv64/targ.c')
| -rw-r--r-- | rv64/targ.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rv64/targ.c b/rv64/targ.c index c0e5e18..fc6632c 100644 --- a/rv64/targ.c +++ b/rv64/targ.c @@ -50,6 +50,7 @@ Target T_rv64 = { .emitfn = rv64_emitfn, .emitfin = elf_emitfin, .asloc = ".L", + .cansel = 0, }; MAKESURE(rsave_size_ok, sizeof rv64_rsave == (NGPS+NFPS+1) * sizeof(int)); |
