mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bbe77de450
commit
220d2b89d6
@ -551,3 +551,12 @@ void func(unsigned int *ret, float dx, float dy, float dz, float dw) {
|
||||
|
||||
===-------------------------------------------------------------------------===
|
||||
|
||||
extract_vector_elt of an arbitrary constant vector can be done with the
|
||||
following instructions:
|
||||
|
||||
vTemp = vec_splat(v0,2); // 2 is the element the src is in.
|
||||
vec_ste(&destloc,0,vTemp);
|
||||
|
||||
We can do an arbitrary non-constant value by using lvsr/perm/ste.
|
||||
|
||||
===-------------------------------------------------------------------------===
|
||||
|
Loading…
x
Reference in New Issue
Block a user