[compiler-rt] [Arm] Make the tests for the runtime functions __aeabi_c{d,f} work...
authorSimi Pallipurath <simi.pallipurath@arm.com>
Thu, 13 Jul 2023 13:32:05 +0000 (14:32 +0100)
committerSimi Pallipurath <simi.pallipurath@arm.com>
Mon, 17 Jul 2023 11:27:32 +0000 (12:27 +0100)
commit6f4f1023fafec4a470d8b7e8ea884c1953fe5291
tree5fd45324f1b5794dd607353ddb90d9e398516d79
parent83f3920854661e1b52e0ee7e290aea0fe2fbfded
[compiler-rt] [Arm] Make the tests for the runtime functions __aeabi_c{d,f} work on Big-Endian.

We are trying to build the compiler-rt as big-endian. And found that the tests compiler-rt/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c and compiler-rt/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c do not work on big endian at the moment. This patch makes these tests work on big endian as well.

Reviewed By: peter.smith, simon_tatham

Differential Revision: https://reviews.llvm.org/D155208
compiler-rt/lib/builtins/arm/aeabi_cdcmp.S
compiler-rt/lib/builtins/arm/aeabi_cfcmp.S
compiler-rt/test/builtins/Unit/arm/call_apsr.h