summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2005-07-26 08:07:40 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2005-07-26 08:07:40 +0000
commit897e6187cf9e656bcc47a0b6a18fe3e662681442 (patch)
tree20fc7fed30cb4d4f4a55794adaca188c30def5b5 /sys/arch/vax
parent419143651f705d739b23c94295dc1168df5d7b68 (diff)
In splraise, change an:
if (x > foo->bar) foo->bar = x; to: foo->bar = MAX(x, foo->bar); This forces gcc to generate much better code even though both experessions are equivalent. Normally I wouldn't bother with microoptimizations like this, but I needed some generated assembler that uses cmov and splraise used so often.. ok toby@ (well, he ok:ed a diff that didn't use the MAX macro, but it's the same code)
Diffstat (limited to 'sys/arch/vax')
0 files changed, 0 insertions, 0 deletions