Commit dd80b906 by Jakub Jelinek Committed by Jakub Jelinek

i386.md (truncxfsf2_2): Fix predicate.

	* config/i386/i386.md (truncxfsf2_2): Fix predicate.

	* gcc.dg/20001127-1.c: New test.

From-SVN: r37812
parent b0bff859
2000-11-28 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.md (truncxfsf2_2): Fix predicate.
2000-11-27 Jim Wilson <wilson@redhat.com>
* reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
......
......@@ -3279,7 +3279,7 @@
(set_attr "mode" "SF")])
(define_insn "*truncxfsf2_2"
[(set (match_operand:SF 0 "nonimmediate_operand" "=m")
[(set (match_operand:SF 0 "memory_operand" "=m")
(float_truncate:SF
(match_operand:XF 1 "register_operand" "f")))]
"TARGET_80387"
......
2000-11-28 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20001127-1.c: New test.
2000-11-27 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/friend46.C: New test.
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O2" } */
extern inline float bar (float x)
{
register long double value;
asm volatile ("frndint" : "=t" (value) : "0" (x));
return value;
}
float a;
float foo (float b)
{
return a + bar (b);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment