acle icon indicating copy to clipboard operation
acle copied to clipboard

[BUG] Wrong use of architecture macros

Open armhobbit opened this issue 1 year ago • 1 comments

Describe the bug

Section 5.4.3 of acle-2022Q4-3.pdf appears to be confused. The document states

The common subset of the A, R and M profiles is indicated by __ARM_ARCH == 7 && !defined (__ARM_ARCH_PROFILE)

Firstly, I believe the test for the common subset would be just

__ARM_ARCH == 7

and, secondly, all v7 cores should have a profile defined, so the test as shown would not pass for any compilation target.

armhobbit avatar Jun 21 '23 08:06 armhobbit

Hi, thanks for your issue report.

If possible, we encourage you to contribute with a Pull Request that addresses this issue. We will be happy to review it.

vhscampos avatar Jun 21 '23 08:06 vhscampos