Merge "To compile with llvm integrated assembler."
This commit is contained in:
commit
34d0e782af
8 changed files with 6 additions and 16 deletions
|
|
@ -70,10 +70,6 @@ LOCAL_SHARED_LIBRARIES := libcutils liblog
|
||||||
# libhardware, but this at least gets us built.
|
# libhardware, but this at least gets us built.
|
||||||
LOCAL_SHARED_LIBRARIES += libhardware_legacy
|
LOCAL_SHARED_LIBRARIES += libhardware_legacy
|
||||||
LOCAL_CFLAGS += -DWITH_LIB_HARDWARE
|
LOCAL_CFLAGS += -DWITH_LIB_HARDWARE
|
||||||
# t32cb16blend.S does not compile with Clang.
|
|
||||||
LOCAL_CLANG_ASFLAGS_arm += -no-integrated-as
|
|
||||||
# arch-arm64/col32cb16blend.S does not compile with Clang.
|
|
||||||
LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
.text
|
.text
|
||||||
.align
|
.align 0
|
||||||
|
|
||||||
.global scanline_col32cb16blend_arm64
|
.global scanline_col32cb16blend_arm64
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
.text
|
.text
|
||||||
.align
|
.align 0
|
||||||
|
|
||||||
.global scanline_t32cb16blend_arm64
|
.global scanline_t32cb16blend_arm64
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.syntax unified
|
||||||
.align
|
.align
|
||||||
|
|
||||||
.global scanline_t32cb16blend_arm
|
.global scanline_t32cb16blend_arm
|
||||||
|
|
@ -146,7 +147,7 @@ scanline_t32cb16blend_arm:
|
||||||
tst r0, #0x3
|
tst r0, #0x3
|
||||||
beq aligned
|
beq aligned
|
||||||
subs r2, r2, #1
|
subs r2, r2, #1
|
||||||
ldmlofd sp!, {r4-r7, lr} // return
|
ldmfdlo sp!, {r4-r7, lr} // return
|
||||||
bxlo lr
|
bxlo lr
|
||||||
|
|
||||||
last:
|
last:
|
||||||
|
|
@ -197,6 +198,6 @@ aligned:
|
||||||
mov r4, r5
|
mov r4, r5
|
||||||
|
|
||||||
9: adds r2, r2, #1
|
9: adds r2, r2, #1
|
||||||
ldmlofd sp!, {r4-r7, lr} // return
|
ldmfdlo sp!, {r4-r7, lr} // return
|
||||||
bxlo lr
|
bxlo lr
|
||||||
b last
|
b last
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,6 @@ LOCAL_SRC_FILES:= \
|
||||||
arm64_assembler_test.cpp\
|
arm64_assembler_test.cpp\
|
||||||
asm_test_jacket.S
|
asm_test_jacket.S
|
||||||
|
|
||||||
# asm_test_jacket.S does not compile with Clang.
|
|
||||||
LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcutils \
|
libcutils \
|
||||||
libpixelflinger
|
libpixelflinger
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.align
|
.align 0
|
||||||
|
|
||||||
.global asm_test_jacket
|
.global asm_test_jacket
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ LOCAL_SRC_FILES:= \
|
||||||
col32cb16blend_test.c \
|
col32cb16blend_test.c \
|
||||||
../../../arch-arm64/col32cb16blend.S
|
../../../arch-arm64/col32cb16blend.S
|
||||||
|
|
||||||
LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES :=
|
LOCAL_SHARED_LIBRARIES :=
|
||||||
|
|
||||||
LOCAL_C_INCLUDES :=
|
LOCAL_C_INCLUDES :=
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ LOCAL_SRC_FILES:= \
|
||||||
t32cb16blend_test.c \
|
t32cb16blend_test.c \
|
||||||
../../../arch-arm64/t32cb16blend.S
|
../../../arch-arm64/t32cb16blend.S
|
||||||
|
|
||||||
LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES :=
|
LOCAL_SHARED_LIBRARIES :=
|
||||||
|
|
||||||
LOCAL_C_INCLUDES :=
|
LOCAL_C_INCLUDES :=
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue