[cfe-dev] [RFC] Make "requires arm" also include AArch64 in module map files

Ben Langmuir blangmuir at apple.com
Wed Jul 29 09:49:30 PDT 2015


> On Jul 28, 2015, at 9:39 AM, Tim Northover <tnorthover at apple.com> wrote:
> 
> On 28 Jul 2015, at 06:32, Ben Langmuir <blangmuir at apple.com> wrote:
>> Do you have any thoughts on the specific target feature names for module maps I’m proposing (changing “arm” to include AArch64 and adding “arm32”)?  As I’ve said, my own (naive) expectation was that “arm” would include “AArch64”, and I was surprised when that wasn’t the case.
> 
> I agree, "arm" is the one I was most happy with. What we're doing is based on the ARM ACLE document, which covers both AArch32 and AArch64. The underlying architectures are different, but the whole point of this union (and the modules it's being used to implement) is that the programmer shouldn't have to care. It's also the preferred catch-all term by ARM the company. There's just no viable alternative that I can see for the union.
> 
> For me, it gets murky when we think about the 32-bit and 64-bit only variants:
> 
>  + arm/arm64 and arm/aarch64 are out because of the top-level choice.
>  + aarch32/aarch64 would probably be ideal for me, but aarch32 hasn't really caught on elsewhere
>  + arm32/arm64 is also possible, especially as Apple are going to be the main consumers.

FWIW, we currently have both “arm64” and “aarch64” for the 64 bit variant, so either or both of “arm32”, “aarch32” would fit.  Maybe we’d be better off with just “aarch32” so that we avoid introducing a name that isn’t really used anywhere else (arm32).

Ben

> 
> Anyway, that's my preferred shade of fuschia. Orange spots are also an option.
> 
> Cheers.
> 
> Tim.





More information about the cfe-dev mailing list