aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/timebase_helper.c
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-11-12 15:46:00 -0600
committerAlexander Graf <agraf@suse.de>2015-01-07 16:16:25 +0100
commit4814f2d116c057d6fdfd57f3b979c77d5668e878 (patch)
tree0db660d9eb28a6416089cc3cd5114b62b060f525 /target-ppc/timebase_helper.c
parentb748863a7f7d2996255dd2cb5a20e49785cc7387 (diff)
target-ppc: Fix Floating Point Move Instructions That Set CR1
The Floating Point Move instructions (fmr., fabs., fnabs., fneg., and fcpsgn.) incorrectly copy FPSCR[FPCC] instead of [FX,FEX,VX,OX]. Furthermore, the current code does this via a call to gen_compute_fprf, which is awkward since these instructions do not actually set FPRF. Change the code to use the gen_set_cr1_from_fpscr utility. Signed-off-by: Tom Musta <tommusta@gmail.com> [agraf: whitespace fixes] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/timebase_helper.c')
0 files changed, 0 insertions, 0 deletions