sha/asm/sha{256|512}-armv4.pl: harmonize thumb2 support with the rest.
[openssl.git] / crypto / sha / asm / sha512-armv4.pl
index 22b5a9d0b1328ded0db569ea8dfa91883ed3ed03..872c27fbc249f32f5bcf8f6160d17e650e3a18aa 100644 (file)
@@ -157,7 +157,7 @@ $code.=<<___;
        teq     $t0,#$magic
 
        ldr     $t3,[sp,#$Coff+0]       @ c.lo
-#if __ARM_ARCH__>=7
+#ifdef __thumb2__
        it      eq                      @ Thumb2 thing, sanity check in ARM
 #endif
        orreq   $Ktbl,$Ktbl,#1
@@ -411,7 +411,7 @@ $code.=<<___;
 ___
        &BODY_00_15(0x17);
 $code.=<<___;
-#if __ARM_ARCH__>=7
+#ifdef __thumb2__
        ittt    eq                      @ Thumb2 thing, sanity check in ARM
 #endif
        ldreq   $t0,[sp,#`$Xoff+8*(16-1)`+0]