diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/p224.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/p224.cc b/crypto/p224.cc index 11946a9..a86163f 100644 --- a/crypto/p224.cc +++ b/crypto/p224.cc @@ -123,15 +123,6 @@ typedef uint64 LargeFieldElement[15]; // ReduceLarge converts a LargeFieldElement to a FieldElement. // // in[i] < 2**62 - -// GCC 4.9 incorrectly vectorizes the first coefficient elimination loop, so -// disable that optimization via pragma. Don't use the pragma under Clang, since -// clang doesn't understand it. -// TODO(wez): Remove this when crbug.com/439566 is fixed. -#if defined(__GNUC__) && !defined(__clang__) -#pragma GCC optimize("no-tree-vectorize") -#endif - void ReduceLarge(FieldElement* out, LargeFieldElement* inptr) { LargeFieldElement& in(*inptr); @@ -173,12 +164,6 @@ void ReduceLarge(FieldElement* out, LargeFieldElement* inptr) { // out[5..7] < 2**28 } -// TODO(wez): Remove this when crbug.com/439566 is fixed. -#if defined(__GNUC__) && !defined(__clang__) -// Reenable "tree-vectorize" optimization if it got disabled for ReduceLarge. -#pragma GCC reset_options -#endif - // Mul computes *out = a*b // // a[i] < 2**29, b[i] < 2**30 (or vice versa) |