Displaying 10 results from an estimated 10 matches for "subwords".
Did you mean:
subword
2005 Sep 17
1
[LLVMdev] Subword register allocation
...to implement them in
LLVM.
I asked similar question before:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2005-
May/004001.html
Because I still don't have a satisfying solution now, I try to
elaborate it again. Pardon.
All registers are 128-bit. Each register can be divided into four
32-bit subwords. Each subword can be independently read and written. A
symbolic name is given to each subword: x, y, z, w.
MUL r0.xyz, r1.xyz, r2.xxx
SUB r0.w, r3,y, r4.z
ADD r5.xyzw, r0.xyzw, r2.xyzw
MUL defines the three subwords of r0, and SUB defines the rest one.
Note that ADD uses the four su...
2011 Jul 16
2
[LLVMdev] [RFC] LegalizeDAG support for targets without subword load/store instructions
Hi All,
Some targets don't provide subword (e.g., i8 and i16 for a 32-bit
machine) load and store instructions, so currently we have to
custom-lower Load- and StoreSDNodes in our backends. For examples, see
LowerLOAD() and LowerSTORE() in {XCore,CellSPU}ISelLowering.cpp. I
believe it's possible to support this lowering in a target-agnostic
fashion in LegalizeDAG.cpp, similar to
2011 Jul 16
0
[LLVMdev] [RFC] LegalizeDAG support for targets without subword load/store instructions
On 16 Jul 2011, at 03:34, Matt Johnson wrote:
> Hi All,
> Some targets don't provide subword (e.g., i8 and i16 for a 32-bit
> machine) load and store instructions, so currently we have to
> custom-lower Load- and StoreSDNodes in our backends. For examples, see
> LowerLOAD() and LowerSTORE() in {XCore,CellSPU}ISelLowering.cpp. I
> believe it's possible to
2018 Jun 26
3
accessing subwords in memory
I'm targeting a machine that can only load and store aligned 64-bit words,
but I'd like to be able to pack 8-, 16-, and 32-bit values into these words.
Loads will require various shifts and masks; stores are more complicated.
Does LLVM provide any support for such things?
Is there an example target I can look at for ideas?
Thanks,
Preston
-------------- next part --------------
An HTML
2013 May 04
0
[PATCH] Downloads section: link to downloads.xiph.org
In downloads.html, link to downloads.xiph.org instead of SourceForge
for source tarballs.
Also includes a minor language fix in developers.html.
---
developers.html | 2 +-
download.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/developers.html b/developers.html
index 149b6b5..87f0a9a 100644
--- a/developers.html
+++ b/developers.html
@@ -47,7 +47,7 @@
2005 May 11
2
[LLVMdev] avoid live range overlap of "vector" registers
Chris Lattner wrote:
> None, that documentation is out of date and doesn't make a ton of sense
> for your application. I would suggest that you implement it in the
> context of the SelectionDAG framework that all of the code generators
> either currently use or are moving to. I updated the documentation
> here:
2005 Jul 29
0
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
Actually the problems that Tzu-Chien Chiu are encountering are similar to what should be done for generating SSE code in
the X86 backend and also other SIMD instruction sets. I think LLVM neeeds to add instructions for permuting components,
extracting and injecting elements in packed types. If the architecture has instructions which can do permutations for
each instruction (for example
2005 Jul 27
3
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
Each register is a 4-component (namely, r, g, b, a) vector register.
They are actually defined as llvm packed [4xfloat].
The instruction:
add_sat r0.a, r1_bias.xxyy, r3_x2.zzzz
Explaination:
'.a' is a writemask. only the specified component will be update
'.xxyy' and '.zzzz' are swizzle masks, specify the component
permutation, simliar to the Intel SSE permutation
2013 May 15
0
[PATCH] Fix dead links and update news
I scanned the website with linkchecker and found quite a lot of
dead links. This commit fixes or removes them.
---
developers.html | 2 +-
documentation_tasks.html | 2 +-
download.html | 12 ++++++------
faq.html | 2 +-
features.html | 2 +-
feeds/feed.xml | 8 ++++++++
format.html | 8 ++++----
2013 May 15
0
[PATCH 2/2] Fix dead links and update news
I scanned the website with linkchecker and found quite a lot of
dead links. This commit fixes or removes them.
---
developers.html | 2 +-
documentation_tasks.html | 2 +-
download.html | 14 +++++++-------
faq.html | 2 +-
features.html | 2 +-
feeds/feed.xml | 8 ++++++++
format.html | 8 ++++----