diff options
author | Martin Storsjo <martin@martin.st> | 2015-06-10 12:06:44 +0300 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2015-06-25 08:25:46 -0700 |
commit | b6d4342f4fbe676ac180b5ac1c821a1546f53176 (patch) | |
tree | e357237f7830cb0ff9853be5e272d4e98d3412d7 /common | |
parent | 9f81a0a2024d1aa640e15085717a8164f770eba4 (diff) | |
download | android_external_libavc-b6d4342f4fbe676ac180b5ac1c821a1546f53176.tar.gz android_external_libavc-b6d4342f4fbe676ac180b5ac1c821a1546f53176.tar.bz2 android_external_libavc-b6d4342f4fbe676ac180b5ac1c821a1546f53176.zip |
armv8: Use the cmn instruction instead of doing cmp with negative values
binutils gas automatically converts cmp with negative values to use
the cmn instruction instead.
This is required for building the armv8 assembly with the clang built-in
assembler.
Change-Id: If6465ea1bec252446c49cf497153e3ef3dad905a
Diffstat (limited to 'common')
-rw-r--r-- | common/armv8/ih264_mem_fns_neon_av8.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/armv8/ih264_mem_fns_neon_av8.s b/common/armv8/ih264_mem_fns_neon_av8.s index f5c2e29..4e9020d 100644 --- a/common/armv8/ih264_mem_fns_neon_av8.s +++ b/common/armv8/ih264_mem_fns_neon_av8.s @@ -119,7 +119,7 @@ loop_neon_memcpy: subs x2, x2, #8 bge loop_neon_memcpy - cmp x2, #-8 + cmn x2, #8 beq end_func1 arm_memcpy: @@ -184,7 +184,7 @@ loop_neon_memset: subs x2, x2, #8 bge loop_neon_memset - cmp x2, #-8 + cmn x2, #8 beq end_func2 arm_memset: @@ -254,7 +254,7 @@ loop_neon_memset_16bit: subs x2, x2, #8 bge loop_neon_memset_16bit - cmp x2, #-8 + cmn x2, #8 beq end_func3 arm_memset_16bit: |