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
997de79c
Commit
997de79c
authored
Mar 19, 1992
by
James Van Artsdalen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r520
parent
f4ce55df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
gcc/config/i386/i386.c
+13
-6
No files found.
gcc/config/i386/i386.c
View file @
997de79c
...
...
@@ -31,6 +31,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "tree.h"
#include "flags.h"
#ifdef EXTRA_CONSTRAINT
/* If EXTRA_CONSTRAINT is defined, then the 'S'
constraint in REG_CLASS_FROM_LETTER will no longer work, and various
asm statements that need 'S' for class SIREG will break. */
#error EXTRA_CONSTRAINT conflicts with S constraint letter
#endif
#define AT_BP(mode) (gen_rtx (MEM, (mode), frame_pointer_rtx))
extern
FILE
*
asm_out_file
;
...
...
@@ -318,7 +325,12 @@ output_move_double (operands)
if
(
GET_CODE
(
operands
[
1
])
==
CONST_DOUBLE
)
split_double
(
operands
[
1
],
&
operands
[
1
],
&
latehalf
[
1
]);
else
if
(
CONSTANT_P
(
operands
[
1
]))
latehalf
[
1
]
=
const0_rtx
;
{
if
(
GET_CODE
(
operands
[
1
])
==
CONST_INT
&&
INTVAL
(
operands
[
1
])
<
0
)
latehalf
[
1
]
=
constm1_rtx
;
else
latehalf
[
1
]
=
const0_rtx
;
}
}
else
latehalf
[
1
]
=
operands
[
1
];
...
...
@@ -791,11 +803,6 @@ function_epilogue (file, size)
else
output_asm_insn
(
"ret %1"
,
xops
);
}
else
if
(
current_function_returns_struct
)
{
xops
[
0
]
=
gen_rtx
(
CONST_INT
,
VOIDmode
,
4
);
output_asm_insn
(
"ret %0"
,
xops
);
}
else
output_asm_insn
(
"ret"
,
xops
);
}
...
...
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