OSDN Git Service

checkasm: Check register clobbering on arm
authorMartin Storsjö <martin@martin.st>
Wed, 30 Dec 2015 21:46:06 +0000 (23:46 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 7 Jan 2016 07:33:24 +0000 (09:33 +0200)
commit26ec75aec3576daea691dee53a78ec67c0dc4040
tree85455196d7b386dc38ef3542173c48af3ae4b3b5
parentfa463aa83a4920b0eed47ad1f79775dfc53d21ec
checkasm: Check register clobbering on arm

Use two separate functions, depending on whether VFP/NEON is available.

This is set to require armv5te - it uses blx, which is only available
since armv5t, but we don't have a separate configure item for that.
(It also uses ldrd, which requires armv5te, but this could be avoided
if necessary.)

Signed-off-by: Martin Storsjö <martin@martin.st>
tests/checkasm/arm/Makefile [new file with mode: 0644]
tests/checkasm/arm/checkasm.S [new file with mode: 0644]
tests/checkasm/checkasm.c
tests/checkasm/checkasm.h