Commit d0cb643b by Richard Sandiford Committed by Nathan Sidwell

neon-gen.ml: Include vxWorks.h rather than stdint.h for VxWorks kernels.

	* config/arm/neon-gen.ml: Include vxWorks.h rather than stdint.h
	for VxWorks kernels.
	* config/arm/arm_neon.h: Regenerate.

From-SVN: r147870
parent 23977d3c
2009-05-26 Richard Sandiford <richard@codesourcery.com>
* config/arm/neon-gen.ml: Include vxWorks.h rather than stdint.h
for VxWorks kernels.
* config/arm/arm_neon.h: Regenerate.
2009-05-26 Richard Guenther <rguenther@suse.de> 2009-05-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/40122 PR tree-optimization/40122
......
...@@ -36,7 +36,11 @@ ...@@ -36,7 +36,11 @@
extern "C" { extern "C" {
#endif #endif
#if defined (__vxworks) && defined (_WRS_KERNEL)
#include <vxWorks.h>
#else
#include <stdint.h> #include <stdint.h>
#endif
typedef __builtin_neon_qi int8x8_t __attribute__ ((__vector_size__ (8))); typedef __builtin_neon_qi int8x8_t __attribute__ ((__vector_size__ (8)));
typedef __builtin_neon_hi int16x4_t __attribute__ ((__vector_size__ (8))); typedef __builtin_neon_hi int16x4_t __attribute__ ((__vector_size__ (8)));
......
...@@ -399,7 +399,11 @@ let _ = ...@@ -399,7 +399,11 @@ let _ =
"extern \"C\" {"; "extern \"C\" {";
"#endif"; "#endif";
""; "";
"#if defined (__vxworks) && defined (_WRS_KERNEL)";
"#include <vxWorks.h>";
"#else";
"#include <stdint.h>"; "#include <stdint.h>";
"#endif";
""]; ""];
deftypes (); deftypes ();
arrtypes (); arrtypes ();
......
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