Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Side by Side Diff: gcc/gcc/testsuite/gcc.target/i386/sse4_1-roundsd-4.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* { dg-do run } */ 1 /* { dg-do run } */
2 /* { dg-require-effective-target sse4 } */ 2 /* { dg-require-effective-target sse4 } */
3 /* { dg-options "-O2 -msse4.1" } */ 3 /* { dg-options "-O2 -msse4.1" } */
4 /* { dg-skip-if "no M_PI" { vxworks_kernel } } */
4 5
5 #include "sse4_1-check.h" 6 #include "sse4_1-check.h"
6 7
7 #include <smmintrin.h> 8 #include <smmintrin.h>
8 #include <math.h> 9 #include <math.h>
9 #include <string.h> 10 #include <string.h>
10 11
11 #define NUM 64 12 #define NUM 64
12 13
13 static void 14 static void
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 for (i = 0; i < NUM; i += 2) 83 for (i = 0; i < NUM; i += 2)
83 { 84 {
84 if (dst.d[i + 1] != 0.0) 85 if (dst.d[i + 1] != 0.0)
85 abort (); 86 abort ();
86 87
87 f = do_round (src.d[i], 0x03); 88 f = do_round (src.d[i], 0x03);
88 if (f != dst.d[i]) 89 if (f != dst.d[i])
89 abort (); 90 abort ();
90 } 91 }
91 } 92 }
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/gcc.target/i386/sse4_1-roundsd-3.c ('k') | gcc/gcc/testsuite/gcc.target/i386/sse5-fma-vector.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698