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
d1b1402f
Commit
d1b1402f
authored
Dec 01, 2012
by
Xinliang David Li
Committed by
Xinliang David Li
Dec 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable cltd for modern CPUs
From-SVN: r194038
parent
780f08bc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/config/i386/i386.c
+1
-1
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/gcc.target/i386/ifcvt-onecmpl-abs-1.c
+1
-1
No files found.
gcc/config/i386/i386.c
View file @
d1b1402f
...
...
@@ -1822,7 +1822,7 @@ static unsigned int initial_ix86_tune_features[X86_TUNE_LAST] = {
m_K6
,
/* X86_TUNE_USE_CLTD */
~
(
m_PENT
|
m_
CORE2I7
|
m_ATOM
|
m_K6
|
m_GENERIC
),
~
(
m_PENT
|
m_
ATOM
|
m_K6
),
/* X86_TUNE_USE_XCHGB: Use xchgb %rh,%rl instead of rolw/rorw $8,rx. */
m_PENT4
,
gcc/testsuite/ChangeLog
View file @
d1b1402f
2012-12-01 Xinliang David Li <davidxl@google.com>
* gcc.target/i386/ifcvt-onecmpl-abs-1.c: Check for
cltd.
2012-12-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55558
...
...
gcc/testsuite/gcc.target/i386/ifcvt-onecmpl-abs-1.c
View file @
d1b1402f
...
...
@@ -2,7 +2,7 @@
/* This test checks for if-conversion of one's complement
* abs function. */
/* { dg-options "-O -mtune=generic" } */
/* { dg-final { scan-assembler "
sar
" } } */
/* { dg-final { scan-assembler "
cltd
" } } */
/* { dg-final { scan-assembler "xor" } } */
/* Check code generation for one's complement version of abs */
...
...
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