From ab6a4126ac8961698b0c777f9d71ba995f29ff52 Mon Sep 17 00:00:00 2001 From: Alex Voicu Date: Tue, 24 Sep 2019 13:11:19 +0100 Subject: [PATCH] Default to -O3 in the ME and BE if no -O is specified. --- lib/clamp-device.in | 2 +- tests/Unit/AmpMath/amp_math_atan.cpp | 3 +-- tests/Unit/AmpMath/amp_math_atan2.cpp | 3 +-- tests/Unit/AmpMath/amp_math_atan2_precise_math.cpp | 3 +-- tests/Unit/AmpMath/amp_math_atan2f.cpp | 3 +-- tests/Unit/AmpMath/amp_math_atan2f_precise_math.cpp | 3 +-- tests/Unit/AmpMath/amp_math_atan_precise_math.cpp | 2 -- tests/Unit/AmpMath/amp_math_atanf.cpp | 3 +-- 8 files changed, 7 insertions(+), 15 deletions(-) diff --git a/lib/clamp-device.in b/lib/clamp-device.in index 0d389ed5557..ad657ebb5d7 100755 --- a/lib/clamp-device.in +++ b/lib/clamp-device.in @@ -44,7 +44,7 @@ AMDGPU_OBJ_CODEGEN="0" HCC_COV3="0" # flag for optimisation level -HCC_OPT="" +HCC_OPT="-O3" if [ $KMDBSCRIPT == "1" ] then diff --git a/tests/Unit/AmpMath/amp_math_atan.cpp b/tests/Unit/AmpMath/amp_math_atan.cpp index 50421e77cbf..2cfc6abbf19 100644 --- a/tests/Unit/AmpMath/amp_math_atan.cpp +++ b/tests/Unit/AmpMath/amp_math_atan.cpp @@ -1,6 +1,5 @@ // RUN: %cxxamp %s -o %t.out && %t.out -// XFAIL:* -// See http://ontrack-internal.amd.com/browse/LIGHTNING-319 + #include #include diff --git a/tests/Unit/AmpMath/amp_math_atan2.cpp b/tests/Unit/AmpMath/amp_math_atan2.cpp index 39155c0c516..dd6f4563980 100644 --- a/tests/Unit/AmpMath/amp_math_atan2.cpp +++ b/tests/Unit/AmpMath/amp_math_atan2.cpp @@ -1,6 +1,5 @@ // RUN: %cxxamp %s -o %t.out && %t.out -// XFAIL:* -// See http://ontrack-internal.amd.com/browse/LIGHTNING-319 + #include #include diff --git a/tests/Unit/AmpMath/amp_math_atan2_precise_math.cpp b/tests/Unit/AmpMath/amp_math_atan2_precise_math.cpp index 02e9583c7b0..2b624f01e12 100644 --- a/tests/Unit/AmpMath/amp_math_atan2_precise_math.cpp +++ b/tests/Unit/AmpMath/amp_math_atan2_precise_math.cpp @@ -1,6 +1,5 @@ // RUN: %cxxamp %s -o %t.out && %t.out -// XFAIL:* -// See http://ontrack-internal.amd.com/browse/LIGHTNING-319 + #include #include diff --git a/tests/Unit/AmpMath/amp_math_atan2f.cpp b/tests/Unit/AmpMath/amp_math_atan2f.cpp index 0d5c47eb8b5..ea9534e00ee 100644 --- a/tests/Unit/AmpMath/amp_math_atan2f.cpp +++ b/tests/Unit/AmpMath/amp_math_atan2f.cpp @@ -1,6 +1,5 @@ // RUN: %cxxamp %s -o %t.out && %t.out -// XFAIL:* -// See http://ontrack-internal.amd.com/browse/LIGHTNING-319 + #include #include diff --git a/tests/Unit/AmpMath/amp_math_atan2f_precise_math.cpp b/tests/Unit/AmpMath/amp_math_atan2f_precise_math.cpp index 7aa1d39e307..cac2433a27b 100644 --- a/tests/Unit/AmpMath/amp_math_atan2f_precise_math.cpp +++ b/tests/Unit/AmpMath/amp_math_atan2f_precise_math.cpp @@ -1,6 +1,5 @@ // RUN: %cxxamp %s -o %t.out && %t.out -// XFAIL:* -// See http://ontrack-internal.amd.com/browse/LIGHTNING-319 + #include #include diff --git a/tests/Unit/AmpMath/amp_math_atan_precise_math.cpp b/tests/Unit/AmpMath/amp_math_atan_precise_math.cpp index 0d11e4caf77..0860f5733e5 100644 --- a/tests/Unit/AmpMath/amp_math_atan_precise_math.cpp +++ b/tests/Unit/AmpMath/amp_math_atan_precise_math.cpp @@ -1,6 +1,4 @@ // RUN: %cxxamp %s -o %t.out && %t.out -// XFAIL:* -// See http://ontrack-internal.amd.com/browse/LIGHTNING-319 #include #include diff --git a/tests/Unit/AmpMath/amp_math_atanf.cpp b/tests/Unit/AmpMath/amp_math_atanf.cpp index ffe7461d599..edd55e7ebb7 100644 --- a/tests/Unit/AmpMath/amp_math_atanf.cpp +++ b/tests/Unit/AmpMath/amp_math_atanf.cpp @@ -1,6 +1,5 @@ // RUN: %cxxamp %s -o %t.out && %t.out -// XFAIL:* -// See http://ontrack-internal.amd.com/browse/LIGHTNING-319 + #include #include