[llvm-dev] vectorization and vliw(very long instruction word)

Martin J. O'Riordan via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 20 04:47:36 PST 2017


Our approach is to let instruction selection and vectorisation happen as if the instruction set was single-issue, and use the post-RA scheduler to fill the VLIW slots with instructions from each of the functional-units [FUs] on a first-come, first-served basis.  This works quite well in conjunction with some mutation patterns that allow an instruction from an alternative FU to be substituted if the preferred FU is busy.

 

The VLWI nature of the target and the instruction selection and vectorisation are largely orthogonal.  There are scheduling, register allocation and instruction selection decisions that an expert human programmer might do differently, but overall the compiler still produces solutions that are competitive with the solutions determined by expert assembly programmers.

 

            MartinO

 

From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of via llvm-dev
Sent: 20 February 2017 02:37
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] vectorization and vliw(very long instruction word)

 

Hello, I want to implement vectorization and vliw(very long instruction word) in my specific dsp ,do you have any advices to me ? 
Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170220/f9a5c624/attachment.html>


More information about the llvm-dev mailing list