Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/neon-testgen.ml @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
49 let emit_prologue chan test_name = | 49 let emit_prologue chan test_name = |
50 Printf.fprintf chan "/* Test the `%s' ARM Neon intrinsic. */\n" test_name; | 50 Printf.fprintf chan "/* Test the `%s' ARM Neon intrinsic. */\n" test_name; |
51 Printf.fprintf chan "/* This file was autogenerated by neon-testgen. */\n\n"; | 51 Printf.fprintf chan "/* This file was autogenerated by neon-testgen. */\n\n"; |
52 Printf.fprintf chan "/* { dg-do assemble } */\n"; | 52 Printf.fprintf chan "/* { dg-do assemble } */\n"; |
53 Printf.fprintf chan "/* { dg-require-effective-target arm_neon_ok } */\n"; | 53 Printf.fprintf chan "/* { dg-require-effective-target arm_neon_ok } */\n"; |
54 Printf.fprintf chan | 54 Printf.fprintf chan "/* { dg-options \"-save-temps -O0\" } */\n"; |
55 "/* { dg-options \"-save-temps -O0 -mfpu=neon -mfloat-abi=softfp\" } */\n"; | 55 Printf.fprintf chan "/* { dg-add-options arm_neon } */\n"; |
56 Printf.fprintf chan "\n#include \"arm_neon.h\"\n\n"; | 56 Printf.fprintf chan "\n#include \"arm_neon.h\"\n\n"; |
57 Printf.fprintf chan "void test_%s (void)\n{\n" test_name | 57 Printf.fprintf chan "void test_%s (void)\n{\n" test_name |
58 | 58 |
59 (* Emit declarations of local variables that are going to be passed | 59 (* Emit declarations of local variables that are going to be passed |
60 to an intrinsic, together with one to take a returned value if needed. *) | 60 to an intrinsic, together with one to take a returned value if needed. *) |