[PATCH] D35904: [ARM] Add test to check PCS of ARM ABI runtime floating point helpers

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 10:29:26 PDT 2017


peter.smith created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.

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.

This additional test has been added as a part of a change to clang under https://reviews.llvm.org/D35538


https://reviews.llvm.org/D35904

Files:
  test/CodeGen/ARM/float-helpers.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35904.108320.patch
Type: text/x-patch
Size: 23743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170726/6293c211/attachment.bin>


More information about the llvm-commits mailing list