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
2bd4bfee
Commit
2bd4bfee
authored
Jun 16, 2014
by
Ganesh Gopalasubramanian
Committed by
Ganesh Gopalasubramanian
Jun 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove vpmacsdql instruction from multiplication
From-SVN: r211702
parent
debd8f30
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
3 deletions
+18
-3
gcc/ChangeLog
+6
-0
gcc/config/i386/i386.c
+7
-2
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/gcc.target/i386/xop-imul64-vector.c
+0
-1
No files found.
gcc/ChangeLog
View file @
2bd4bfee
2014-06-16 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
* config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue
instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for
handling 32-bit multiplication.
2014-06-16 Chung-Lin Tang <cltang@codesourcery.com>
PR middle-end/61430
...
...
gcc/config/i386/i386.c
View file @
2bd4bfee
...
...
@@ -45279,8 +45279,13 @@ ix86_expand_sse2_mulvxdi3 (rtx op0, rtx op1, rtx op2)
/* t4: ((B*E)+(A*F))<<32, ((D*G)+(C*H))<<32 */
emit_insn
(
gen_ashlv2di3
(
t4
,
t3
,
GEN_INT
(
32
)));
/* op0: (((B*E)+(A*F))<<32)+(B*F), (((D*G)+(C*H))<<32)+(D*H) */
emit_insn
(
gen_xop_pmacsdql
(
op0
,
op1
,
op2
,
t4
));
/* Multiply lower parts and add all */
t5
=
gen_reg_rtx
(
V2DImode
);
emit_insn
(
gen_vec_widen_umult_even_v4si
(
t5
,
gen_lowpart
(
V4SImode
,
op1
),
gen_lowpart
(
V4SImode
,
op2
)));
op0
=
expand_binop
(
mode
,
add_optab
,
t5
,
t4
,
op0
,
1
,
OPTAB_DIRECT
);
}
else
{
gcc/testsuite/ChangeLog
View file @
2bd4bfee
2014-06-16 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
* gcc.target/i386/xop-imul64-vector.c: Remove the check for
vpmacsdql instruction.
2014-06-16 Yury Gribov <y.gribov@samsung.com>
* c-c++-common/asan/instrument-with-calls-1.c: New test.
...
...
gcc/testsuite/gcc.target/i386/xop-imul64-vector.c
View file @
2bd4bfee
...
...
@@ -33,4 +33,3 @@ int main ()
/* { dg-final { scan-assembler "vpmulld" } } */
/* { dg-final { scan-assembler "vphadddq" } } */
/* { dg-final { scan-assembler "vpmacsdql" } } */
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