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
62415523
Commit
62415523
authored
24 years ago
by
Jan Hubicka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix breakage in my previous checkin.
From-SVN: r39623
parent
f84aa48a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/config/i386/i386.c
+6
-6
No files found.
gcc/config/i386/i386.c
View file @
62415523
...
...
@@ -8814,15 +8814,15 @@ ix86_register_move_cost (mode, class1, class2)
stall. Count this as arbitarily high cost of 20. */
if
(
ix86_secondary_memory_needed
(
class1
,
class2
,
mode
,
0
))
{
if
(
CLASS_MAX_NREGS
(
CLASS1
,
MODE
)
>
CLASS_MAX_NREGS
(
CLASS2
,
MODE
))
if
(
CLASS_MAX_NREGS
(
class1
,
mode
)
>
CLASS_MAX_NREGS
(
class2
,
mode
))
return
10
;
return
(
MEMORY_MOVE_COST
(
MODE
,
CLASS
1
,
0
)
+
MEMORY_MOVE_COST
(
MODE
,
CLASS
2
,
1
));
return
(
MEMORY_MOVE_COST
(
mode
,
class
1
,
0
)
+
MEMORY_MOVE_COST
(
mode
,
class
2
,
1
));
}
/* Moves between SSE/MMX and integer unit are expensive.
??? We should make this cost CPU specific. */
if
(
MMX_CLASS_P
(
CLASS1
)
!=
MMX_CLASS_P
(
CLASS
2
)
||
SSE_CLASS_P
(
CLASS1
)
!=
SSE_CLASS_P
(
CLASS
2
))
if
(
MMX_CLASS_P
(
class1
)
!=
MMX_CLASS_P
(
class
2
)
||
SSE_CLASS_P
(
class1
)
!=
SSE_CLASS_P
(
class
2
))
return
3
;
return
2
;
}
...
...
@@ -8852,7 +8852,7 @@ ix86_hard_regno_mode_ok (regno, mode)
return
0
;
/* Take care for QImode values - they can be in non-QI regs, but then
they do cause partial register stalls. */
if
(
QI_REG_P
(
regno
)
||
mode
!=
QImode
)
if
(
regno
<
4
||
mode
!=
QImode
)
return
1
;
return
reload_in_progress
||
reload_completed
||
!
TARGET_PARTIAL_REG_STALL
;
}
This diff is collapsed.
Click to expand it.
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