mirror of git://sourceware.org/git/glibc.git
arm: Use vmov.i32 instead of vmov on neon memchr
clang fails with: error: invalid instruction
This commit is contained in:
parent
83fa6708c5
commit
7cb1206fbe
|
@ -120,7 +120,7 @@ ENTRY(memchr)
|
|||
vpadd.i8 vdata1_0, vdata1_0, vdata1_1
|
||||
vpadd.i8 vdata0_0, vdata0_0, vdata1_0
|
||||
vpadd.i8 vdata0_0, vdata0_0, vdata0_0
|
||||
vmov synd, vdata0_0[0]
|
||||
vmov.i32 synd, vdata0_0[0]
|
||||
|
||||
/* Clear the soff lower bits */
|
||||
lsr synd, synd, soff
|
||||
|
@ -166,7 +166,7 @@ ENTRY(memchr)
|
|||
vpadd.i8 vdata1_0, vdata1_0, vdata1_1
|
||||
vpadd.i8 vdata0_0, vdata0_0, vdata1_0
|
||||
vpadd.i8 vdata0_0, vdata0_0, vdata0_0
|
||||
vmov synd, vdata0_0[0]
|
||||
vmov.i32 synd, vdata0_0[0]
|
||||
cbz synd, .Lnotfound
|
||||
bhi .Ltail /* Uses the condition code from
|
||||
subs cntin, cntin, #32 above. */
|
||||
|
|
Loading…
Reference in New Issue