Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fb1683c authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Herbert Xu
Browse files

crypto: arm/crc32 - fix build error with outdated binutils



Annotate a vmov instruction with an explicit element size of 32 bits.
This is inferred by recent toolchains, but apparently, older versions
need some help figuring this out.

Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3b30460c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -135,7 +135,7 @@ ENTRY(crc32c_pmull_le)
	vld1.8		{q3-q4}, [BUF, :128]!
	vld1.8		{q3-q4}, [BUF, :128]!
	vmov.i8		qzr, #0
	vmov.i8		qzr, #0
	vmov.i8		qCONSTANT, #0
	vmov.i8		qCONSTANT, #0
	vmov		dCONSTANTl[0], CRC
	vmov.32		dCONSTANTl[0], CRC
	veor.8		d2, d2, dCONSTANTl
	veor.8		d2, d2, dCONSTANTl
	sub		LEN, LEN, #0x40
	sub		LEN, LEN, #0x40
	cmp		LEN, #0x40
	cmp		LEN, #0x40