[cfe-commits] [patch] Make ARM NEON polynomial types unsigned

Tim Northover Tim.Northover at arm.com
Mon Jan 14 04:00:38 PST 2013


Hi,

As suggested by John in his review of the AArch64 backend, I'm splitting this 
change into a separate thread.

I'd like to make the ARM NEON polynomial types be based on unsigned variants 
(unsigned char, unsigned short) rather than the present signed ones.

The AArch32 (i.e. "ARM") procedure call standard leaves this detail 
unspecified, merely saying that they represent polynomials over GF(2). 
However, the AArch64 PCS says that they correspond to unsigned types.

Since the 32-bit ABI is compatible with this, I think it would be better to 
bring them into alignment rather than adding unnecessary target 
conditionalisation to Clang.

Ok to commit?

Cheers.

Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polynomial-unsigned.diff
Type: text/x-patch
Size: 3447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130114/8c6eec3f/attachment.bin>


More information about the cfe-commits mailing list