OSDN Git Service

[ARM] Add test to check pcs of ARM ABI runtime floating point helpers
authorPeter Smith <peter.smith@linaro.org>
Fri, 28 Jul 2017 09:21:00 +0000 (09:21 +0000)
committerPeter Smith <peter.smith@linaro.org>
Fri, 28 Jul 2017 09:21:00 +0000 (09:21 +0000)
commit920a5bacca0070c54b904e99596c5d26a06ca6ec
treeb7a32e38a6f8a0bec4ecca147ab6fc5f8dfda152
parentf4dbee3151d7457118c800eb0b52c0b2f76cae8e
[ARM] Add test to check pcs of ARM ABI runtime floating point helpers

The ARM Runtime ABI document (IHI0043) defines the AEABI floating point
helper functions in section 4.1.2 The floating-point helper functions.
The functions listed in this section must always use the base AAPCS calling
convention.

This test generates calls to all the helper functions that llvm supports
and checks that the base AAPCS calling convention has been used. We test
the equivalent of -mfloat-abi=soft, -mfloat-abi=softfp, -mfloat-abi=hardfp
with an FPU that supports single and double precision, and one that only
supports double precision.

Differential Revision: https://reviews.llvm.org/D35904

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309371 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/ARM/float-helpers.s [new file with mode: 0644]