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
8c61b6c1
Commit
8c61b6c1
authored
May 01, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_addsi3): Replace "\\;" by "\n\t" in assembler templates.
From-SVN: r14003
parent
26986265
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/config/m68k/m68k.c
+3
-3
No files found.
gcc/config/m68k/m68k.c
View file @
8c61b6c1
...
@@ -1972,7 +1972,7 @@ output_addsi3 (operands)
...
@@ -1972,7 +1972,7 @@ output_addsi3 (operands)
stack slots over 64k from the frame pointer. */
stack slots over 64k from the frame pointer. */
if
(
GET_CODE
(
operands
[
2
])
==
CONST_INT
if
(
GET_CODE
(
operands
[
2
])
==
CONST_INT
&&
INTVAL
(
operands
[
2
])
+
0x8000
>=
(
unsigned
)
0x10000
)
&&
INTVAL
(
operands
[
2
])
+
0x8000
>=
(
unsigned
)
0x10000
)
return
"move%.l %2,%0
\
\
;
add%.l %1,%0"
;
return
"move%.l %2,%0
\
n\t
add%.l %1,%0"
;
#ifdef SGS
#ifdef SGS
if
(
GET_CODE
(
operands
[
2
])
==
REG
)
if
(
GET_CODE
(
operands
[
2
])
==
REG
)
return
"lea 0(%1,%2.l),%0"
;
return
"lea 0(%1,%2.l),%0"
;
...
@@ -2015,14 +2015,14 @@ output_addsi3 (operands)
...
@@ -2015,14 +2015,14 @@ output_addsi3 (operands)
{
{
operands
[
2
]
=
gen_rtx
(
CONST_INT
,
VOIDmode
,
operands
[
2
]
=
gen_rtx
(
CONST_INT
,
VOIDmode
,
INTVAL
(
operands
[
2
])
-
8
);
INTVAL
(
operands
[
2
])
-
8
);
return
"addq%.l %#8,%0
\
\
;
addq%.l %2,%0"
;
return
"addq%.l %#8,%0
\
n\t
addq%.l %2,%0"
;
}
}
if
(
INTVAL
(
operands
[
2
])
<
-
8
if
(
INTVAL
(
operands
[
2
])
<
-
8
&&
INTVAL
(
operands
[
2
])
>=
-
16
)
&&
INTVAL
(
operands
[
2
])
>=
-
16
)
{
{
operands
[
2
]
=
gen_rtx
(
CONST_INT
,
VOIDmode
,
operands
[
2
]
=
gen_rtx
(
CONST_INT
,
VOIDmode
,
-
INTVAL
(
operands
[
2
])
-
8
);
-
INTVAL
(
operands
[
2
])
-
8
);
return
"subq%.l %#8,%0
\
\
;
subq%.l %2,%0"
;
return
"subq%.l %#8,%0
\
n\t
subq%.l %2,%0"
;
}
}
}
}
#endif
#endif
...
...
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