mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1277853 - adjust checks for clang's integrated assembler in transform_neon.S; r=jesup
This file used __APPLE__ as a shorthand for "compiling with clang's integrated assembler"; we should really be checking for __clang__ instead.
This commit is contained in:
parent
154bef14bf
commit
2a354943cf
@ -43,7 +43,7 @@ DEFINE_FUNCTION WebRtcIsacfix_Time2SpecNeon
|
||||
add r5, sp, #(16 + FRAMESAMPLES * 2) @ tmpimQ16;
|
||||
|
||||
adr r9, WebRtcIsacfix_kCosTab1
|
||||
#if defined(__APPLE__)
|
||||
#if defined(__APPLE__) || defined(__clang__)
|
||||
mov r6, #:lower16:(WebRtcIsacfix_kSinTab1 - WebRtcIsacfix_kCosTab1)
|
||||
#else
|
||||
mov r6, #(WebRtcIsacfix_kSinTab1 - WebRtcIsacfix_kCosTab1)
|
||||
@ -461,7 +461,7 @@ TransformAndFindMax:
|
||||
bgt TransformAndFindMax
|
||||
|
||||
adr r10, WebRtcIsacfix_kSinTab1
|
||||
#if defined(__APPLE__)
|
||||
#if defined(__APPLE__) || defined(__clang__)
|
||||
mov r2, #:lower16:(WebRtcIsacfix_kSinTab1 - WebRtcIsacfix_kCosTab1)
|
||||
#else
|
||||
mov r2, #(WebRtcIsacfix_kSinTab1 - WebRtcIsacfix_kCosTab1)
|
||||
|
Loading…
Reference in New Issue
Block a user