]> git.lizzy.rs Git - plan9front.git/commit
5c: dont emit conditional integer division instructions
authorcinap_lenrek <cinap_lenrek@gmx.de>
Mon, 29 Apr 2013 18:15:40 +0000 (20:15 +0200)
committercinap_lenrek <cinap_lenrek@gmx.de>
Mon, 29 Apr 2013 18:15:40 +0000 (20:15 +0200)
commitce62bbb8539eaa56c6646da3d445d968dabec99f
treed005ef75fea9f4cfd613d692d3ce9bccd117dcc6
parentb325475fc8da20bf15e95ab3e45cc9533061bec1
5c: dont emit conditional integer division instructions

the integer division instructions are emulated with _div()
function patched in by 5l which does not handle conditional
execution. so do not optimize away the branch in that case.
sys/src/cmd/5c/peep.c