This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[Sim] Patch to sim/common/cgen-ops.h
- To: <gdb-patches at sources dot redhat dot com>
- Subject: [Sim] Patch to sim/common/cgen-ops.h
- From: Ben Elliston <bje at redhat dot com>
- Date: Mon, 11 Dec 2000 18:17:56 +1100 (EST)
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);