This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
2005-04-22 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/arm-vfp1.c: New test.
Index: gcc.dg/arm-vfp1.c =================================================================== RCS file: gcc.dg/arm-vfp1.c diff -N gcc.dg/arm-vfp1.c *** /dev/null 1 Jan 1970 00:00:00 -0000 --- gcc.dg/arm-vfp1.c 22 Apr 2005 17:56:11 -0000 *************** *** 0 **** --- 1,126 ---- + /* { dg-do compile { target arm*-*-* } } */ + /* { dg-options "-O2 -ffast-math -mfpu=vfp -mfloat-abi=softfp" } */
Why -ffast-math?
The vfp multiply-accumulate instructions correctly round the intermediate result, so we should be using them all the time.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |