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
71e1e2c8
Commit
71e1e2c8
authored
Nov 12, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(addsi3): If TARGET_5200, use the lea insn to add small constants to
address registers. From-SVN: r13137
parent
dfb331d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
gcc/config/m68k/m68k.md
+11
-3
No files found.
gcc/config/m68k/m68k.md
View file @
71e1e2c8
...
...
@@ -2173,9 +2173,17 @@
#endif
if (ADDRESS_REG_P (operands
[
0
]
)
&& INTVAL (operands
[
2
]
) >= -0x8000
&& INTVAL (operands
[
2
]
) < 0x8000
&& !TARGET_5200)
return
\"
add%.w %2,%0
\"
;
&& INTVAL (operands
[
2
]
) < 0x8000)
{
if (!TARGET_5200)
return
\"
add%.w %2,%0
\"
;
else
#ifdef MOTOROLA
return
\"
lea (%c2,%0),%0
\"
;
#else
return
\"
lea %0@(%c2),%0
\"
;
#endif
}
}
return
\"
add%.l %2,%0
\"
;
}")
...
...
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