[PATCH]Clang and AArch64 backend patches to support sshll/ushll instructions

Ana Pazos apazos at codeaurora.org
Mon Aug 12 13:08:33 PDT 2013


Hello Hao,

 

-        The tests need a full 'aarch64-linux-gnu' triple to avoid breaking
on unsupported platforms.

So in the tests replace -march=aarch64  with -mtriple=aarch64-none-linux-gnu
and replace -triple=aarch64 with -triple aarch64-none-linux-gnu

 

-        The use of H as a new size modifier

It seems what you need is just a condition to skip adding 'q' to the
intrinsics name even when the type is classified as Q, correct?

Something like adding a record field "isShiftPart2" or some more generic
field so it can be reused by other intrinsics that have similar naming
requirement.

It will require a bit more clang changes, but it will be clearer what you
are trying to do.

What do you think?

 

Thanks,

Ana.

 

 

 

From: llvm-commits-bounces at cs.uiuc.edu
[mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Hao Liu
Sent: Friday, August 09, 2013 1:20 PM
To: tnorthover at apple.com; llvm-commits at cs.uiuc.edu
Cc: Jiangning Liu
Subject: [PATCH]Clang and AArch64 backend patches to support sshll/ushll
instructions

 

Hello Tim and LLVM reviewers,

 

I have created a patch to implement sshll and ushll instructions in AArch64
backend and support vshll and vmovl ACLE functions in Clang. The reason I
need to upstream this patch is that the work of my colleague depends on
these instructions.

 

The implementation of this patch follows the existing code of AArch64 NEON
instructions and ARM target. The vmovl ACLE functions are also implemented,
as they are compiled into sshll and ushll instructions.

 

Tim (and anyone else interested),  could you review the patches?

 

Thanks,

-Hao

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130812/66946e1e/attachment.html>


More information about the llvm-commits mailing list