Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
f6293442
Commit
f6293442
authored
Oct 13, 2011
by
Richard Henderson
Committed by
Richard Henderson
Oct 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spu: Implement vec_permv16qi.
From-SVN: r179954
parent
cba86444
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
gcc/ChangeLog
+2
-0
gcc/config/spu/spu.md
+12
-0
No files found.
gcc/ChangeLog
View file @
f6293442
...
...
@@ -2,6 +2,8 @@
* config/rs6000/altivec.md (vec_permv16qi): New pattern.
* config/rs6000/spu.md (vec_permv16qi): New pattern.
2011-10-13 Jakub Jelinek <jakub@redhat.com>
* config/i386/sse.md (vec_set<mode>): Change V_128 iterator mode
gcc/config/spu/spu.md
View file @
f6293442
...
...
@@ -4395,6 +4395,18 @@ selb\t%0,%4,%0,%3"
"shufb
\t
%0,%1,%2,%3"
[
(set_attr "type" "shuf")
]
)
(define_expand "vec_permv16qi"
[
(set (match_operand:V16QI 0 "spu_reg_operand" "")
(unspec:V16QI
[
(match_operand:V16QI 1 "spu_reg_operand" "")
(match_operand:V16QI 2 "spu_reg_operand" "")
(match_operand:V16QI 3 "spu_reg_operand" "")]
UNSPEC_SHUFB))]
""
{
operands
[
3
]
= gen_lowpart (TImode, operands
[
3
]
);
})
(define_insn "nop"
[
(unspec_volatile [(const_int 0)
]
UNSPECV_NOP)]
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment