diff options
| author | Jim Cownie <james.h.cownie@intel.com> | 2013-12-23 17:28:57 +0000 |
|---|---|---|
| committer | Jim Cownie <james.h.cownie@intel.com> | 2013-12-23 17:28:57 +0000 |
| commit | 181b4bb3bb21a576458686d8e40234f658a3d35e (patch) | |
| tree | a7acb48bf7338894f3c0f2c81e97564a98ccce3c /openmp/runtime/tools/lib/Platform.pm | |
| parent | 701875542d670e40e61390ccac08a6ed1de4d91f (diff) | |
| download | bcm5719-llvm-181b4bb3bb21a576458686d8e40234f658a3d35e.tar.gz bcm5719-llvm-181b4bb3bb21a576458686d8e40234f658a3d35e.zip | |
For your Christmas hacking pleasure.
This release use aligns with Intel(r) Composer XE 2013 SP1 Product Update 2
New features
* The library can now be built with clang (though wiht some
limitations since clang does not support 128 bit floats)
* Support for Vtune analysis of load imbalance
* Code contribution from Steven Noonan to build the runtime for ARM*
architecture processors
* First implementation of runtime API for OpenMP cancellation
Bug Fixes
* Fixed hang on Windows (only) when using KMP_BLOCKTIME=0
llvm-svn: 197914
Diffstat (limited to 'openmp/runtime/tools/lib/Platform.pm')
| -rw-r--r-- | openmp/runtime/tools/lib/Platform.pm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/openmp/runtime/tools/lib/Platform.pm b/openmp/runtime/tools/lib/Platform.pm index 584eeb7491f..d723174a29e 100644 --- a/openmp/runtime/tools/lib/Platform.pm +++ b/openmp/runtime/tools/lib/Platform.pm @@ -48,6 +48,8 @@ sub canon_arch($) { $arch = "32"; } elsif ( $arch =~ m{\A\s*(?:48|(?:ia)?32e|Intel\s*64|Intel\(R\)\s*64|x86[_-]64|x64|AMD64)\s*\z}i ) { $arch = "32e"; + } elsif ( $arch =~ m{\Aarm(?:v7\D*)?\z} ) { + $arch = "arm"; } else { $arch = undef; }; # if @@ -59,6 +61,7 @@ sub canon_arch($) { my %legal = ( "32" => "IA-32 architecture", "32e" => "Intel(R) 64", + "arm" => "ARM", ); sub legal_arch($) { @@ -76,6 +79,7 @@ sub canon_arch($) { "32" => "ia32", "32e" => "intel64", "64" => "ia64", + "arm" => "arm", ); sub arch_opt($) { @@ -153,6 +157,8 @@ sub target_options() { $_host_arch = "64"; } elsif ( $hardware_platform eq "x86_64" ) { $_host_arch = "32e"; + } elsif ( $hardware_platform eq "arm" ) { + $_host_arch = "arm"; } else { die "Unsupported host hardware platform: \"$hardware_platform\"; stopped"; }; # if @@ -178,7 +184,7 @@ if ( defined( $ENV{ LIBOMP_ARCH } ) ) { # Use arch specified in LIBOMP_ARCH. $_target_arch = canon_arch( $ENV{ LIBOMP_ARCH } ); if ( not defined( $_target_arch ) ) { - die "Uknown architecture specified in LIBOMP_ARCH environment variable: \"$ENV{ LIBOMP_ARCH }\""; + die "Unknown architecture specified in LIBOMP_ARCH environment variable: \"$ENV{ LIBOMP_ARCH }\""; }; # if } else { # Otherwise use host architecture. @@ -191,7 +197,7 @@ if ( defined( $ENV{ LIBOMP_OS } ) ) { # Use OS specified in LIBOMP_OS. $_target_os = canon_os( $ENV{ LIBOMP_OS } ); if ( not defined( $_target_os ) ) { - die "Uknown OS specified in LIBOMP_OS environment variable: \"$ENV{ LIBOMP_OS }\""; + die "Unknown OS specified in LIBOMP_OS environment variable: \"$ENV{ LIBOMP_OS }\""; }; # if } else { # Otherwise use host OS. |

