+static DF
+fextsfdf (CGEN_FPU* fpu, int how UNUSED, SF x)
+{
+ sim_fpu op1;
+ unsigned64 res;
+
+ sim_fpu_32to (&op1, x);
+ sim_fpu_to64 (&res, &op1);
+
+ return res;
+}
+
+static SF
+ftruncdfsf (CGEN_FPU* fpu, int how UNUSED, DF x)
+{
+ sim_fpu op1;
+ unsigned32 res;
+
+ sim_fpu_64to (&op1, x);
+ sim_fpu_to32 (&res, &op1);
+
+ return res;
+}
+