[Sim] Patch to sim/common/cgen-ops.h
Ben Elliston
bje@redhat.com
Sun Dec 10 23:18:00 GMT 2000
FYI, I've just committed the following patch to cgen-ops.h. It includes an
obvious ChangeLog entry.
Ben
--- cgen-ops.h 2000/12/04 04:08:55 1.18
+++ cgen-ops.h 2000/12/11 07:09:33
@@ -364,6 +364,14 @@
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 @@
HI SUBWORDSIHI (HI);
SI SUBWORDSFSI (SF);
SF SUBWORDSISF (SI);
+DI SUBWORDDFDI (DF);
DF SUBWORDDIDF (DI);
QI SUBWORDDIQI (DI, int);
HI SUBWORDDIHI (DI, int);
More information about the Gdb-patches
mailing list