aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@linux.ibm.com>2022-01-19 17:36:36 +0100
committerRobin Dapp <rdapp@linux.ibm.com>2022-01-19 18:37:46 +0100
commitaa8cfe785953a0e87d2472311e1260cd98c605c0 (patch)
treeba5b2184bed0346bce310990806697d55d8eb380 /libgo/go
parente9ebb86799fd77cdd5351078230c114a90e66066 (diff)
downloadgcc-aa8cfe785953a0e87d2472311e1260cd98c605c0.zip
gcc-aa8cfe785953a0e87d2472311e1260cd98c605c0.tar.gz
gcc-aa8cfe785953a0e87d2472311e1260cd98c605c0.tar.bz2
ifcvt: Try re-using CC for conditional moves.
Following up on the previous patch, this patch makes noce_convert_multiple emit two cmov sequences: The same one as before and a second one that tries to re-use the existing CC. Then their costs are compared and the cheaper one is selected. gcc/ChangeLog: * ifcvt.cc (cond_exec_get_condition): New parameter to allow getting the reversed comparison. (try_emit_cmove_seq): New function to facilitate creating a cmov sequence. (noce_convert_multiple_sets): Create two sequences and use the less expensive one.
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions