diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 19:48:05 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 19:48:05 +0000 |
commit | 1ef59d0acf7c71e9b863bff904ceac74ce9bd107 (patch) | |
tree | b30d2c5559af20a46f31001190fbca5d0bc38c3a /target-ppc/op_helper.c | |
parent | 7fd7b91fac396fcc3d72ecadbcb49f5736755d23 (diff) |
ppc fixes (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@765 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r-- | target-ppc/op_helper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 0bb48e7a3a..ae3d254d9f 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -267,6 +267,16 @@ void do_fctiwz (void) fesetround(cround); } +void do_fnmadds (void) +{ + FTS0 = -((FTS0 * FTS1) + FTS2); +} + +void do_fnmsubs (void) +{ + FTS0 = -((FTS0 * FTS1) - FTS2); +} + void do_fsqrt (void) { FT0 = sqrt(FT0); |