2000-12-11 Ben Elliston <bje@redhat.com>

* cgen-ops.h (SUBWORDDFDI): New function.
This commit is contained in:
Ben Elliston 2000-12-11 07:14:34 +00:00
parent d58c3cb85e
commit 0d277f51d0
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2000-12-11 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDDFDI): New function.
2000-12-05 Ben Elliston <bje@redhat.com>
* Make-common.in (cgen-defs): New target.

View file

@ -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);