Fix incompatible assembly in ARM builtins library
commit4a5db0a980021d6e44e736926af7f17c472ff299
authorRenato Golin <renato.golin@linaro.org>
Tue, 22 Jul 2014 20:59:41 +0000 (22 20:59 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 22 Jul 2014 20:59:41 +0000 (22 20:59 +0000)
tree889eaadc549a8e2657c3b2b5a0c81169246676f3
parentad18d609f6c6ef413f8930ce3fb7d91bf5d39d62
Fix incompatible assembly in ARM builtins library

Convert the CBNZ backward branch instruction to CMP and BNE
avoiding illegal backwards branch and making the assembly code
in synh-ops.h to be UAL compliant.

Patch by: Sumanth Gundapaneni

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213685 91177308-0d34-0410-b5e6-96231b3b80d8
lib/builtins/arm/sync-ops.h