diff options
author | Ben Elliston <bje@au.ibm.com> | 2000-12-11 07:14:34 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2000-12-11 07:14:34 +0000 |
commit | 0d277f51d0aae02edc7226fe9cd91ab0a6c67470 (patch) | |
tree | 2625ebb0b6dab5ce961b0df6cc8bd9f62a37bb81 /sim/common/cgen-ops.h | |
parent | d58c3cb85e0043e8c18b030e26be61aad78cb371 (diff) | |
download | gdb-0d277f51d0aae02edc7226fe9cd91ab0a6c67470.zip gdb-0d277f51d0aae02edc7226fe9cd91ab0a6c67470.tar.gz gdb-0d277f51d0aae02edc7226fe9cd91ab0a6c67470.tar.bz2 |
2000-12-11 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDDFDI): New function.
Diffstat (limited to 'sim/common/cgen-ops.h')
-rw-r--r-- | sim/common/cgen-ops.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/common/cgen-ops.h b/sim/common/cgen-ops.h index d829e93..2ce1b12 100644 --- a/sim/common/cgen-ops.h +++ b/sim/common/cgen-ops.h @@ -364,6 +364,14 @@ SUBWORDSFSI (SF in) return x.out; } +SEMOPS_INLINE DI +SUBWORDDFDI (DF in) +{ + union { DF in; DI out; } x; + x.in = in; + return x.out; +} + SEMOPS_INLINE UQI SUBWORDDIUQI (DI in, int byte) { @@ -456,6 +464,7 @@ QI SUBWORDSIQI (SI); HI SUBWORDSIHI (HI); SI SUBWORDSFSI (SF); SF SUBWORDSISF (SI); +DI SUBWORDDFDI (DF); DF SUBWORDDIDF (DI); QI SUBWORDDIQI (DI, int); HI SUBWORDDIHI (DI, int); |