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
0b412022
Commit
0b412022
authored
Jul 30, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7835
parent
5b486ce0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
22 deletions
+17
-22
gcc/config/gmicro/gmicro.h
+4
-9
gcc/config/m68k/crds.h
+8
-8
gcc/config/m68k/news.h
+1
-1
gcc/config/ns32k/genix.h
+2
-2
gcc/config/ns32k/merlin.h
+2
-2
No files found.
gcc/config/gmicro/gmicro.h
View file @
0b412022
/* Definitions of target machine for GNU compiler. Gmicro (TRON) version.
/* Definitions of target machine for GNU compiler. Gmicro (TRON) version.
Ported by Masanobu Yuhara, Fujitsu Laboratories LTD.
(yuhara@flab.fujitsu.co.jp)
Copyright (C) 1987, 1988, 1989 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1989 Free Software Foundation, Inc.
Contributed by Masanobu Yuhara, Fujitsu Laboratories LTD.
(yuhara@flab.fujitsu.co.jp)
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -16,13 +15,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
...
@@ -16,13 +15,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU General Public License for more details.
Among other things, the copyright
notice and this notice must be preserved on all copies.
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
*/
/* Note that some other tm.h files include this one and then override
/* Note that some other tm.h files include this one and then override
...
@@ -1584,7 +1579,7 @@ myprcode(GET_CODE(X)); */ \
...
@@ -1584,7 +1579,7 @@ myprcode(GET_CODE(X)); */ \
ASM_OUTPUT_FLOAT_OPERAND (FILE, u1.f); \
ASM_OUTPUT_FLOAT_OPERAND (FILE, u1.f); \
else \
else \
fprintf (FILE, "#h'%x", u1.i); } \
fprintf (FILE, "#h'%x", u1.i); } \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X)
!= DI
mode) \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X)
== DF
mode) \
{ union { double d; int i[2]; } u; \
{ union { double d; int i[2]; } u; \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
ASM_OUTPUT_DOUBLE_OPERAND (FILE, u.d); } \
ASM_OUTPUT_DOUBLE_OPERAND (FILE, u.d); } \
...
...
gcc/config/m68k/crds.h
View file @
0b412022
/* Definitions of target machine for GNU compiler
.
/* Definitions of target machine for GNU compiler
;
Charles River Data Systems UNiverse/32
Charles River Data Systems UNiverse/32
.
Written by Gary E. Miller (Gary_Edmunds_Miller@cup.portal.com)
Copyright (C) 1987, 1993, 1994 Free Software Foundation, Inc.
Co
pyright (C) 1987, 1993 Free Software Foundation, Inc.
Co
ntributed by Gary E. Miller (Gary_Edmunds_Miller@cup.portal.com)
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -306,14 +306,14 @@ do { int i; \
...
@@ -306,14 +306,14 @@ do { int i; \
else \
else \
{ REAL_VALUE_TO_TARGET_SINGLE (r, l); \
{ REAL_VALUE_TO_TARGET_SINGLE (r, l); \
fprintf (FILE, "$0x%x", l); } } \
fprintf (FILE, "$0x%x", l); } } \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) ==
X
Fmode) \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) ==
D
Fmode) \
{ REAL_VALUE_TYPE r; \
{ REAL_VALUE_TYPE r; \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
ASM_OUTPUT_
LONG_DOUBLE_OPERAND (FILE, r); }
\
ASM_OUTPUT_
DOUBLE_OPERAND (FILE, r); }
\
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X)
!= DI
mode) \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X)
== XF
mode) \
{ REAL_VALUE_TYPE r; \
{ REAL_VALUE_TYPE r; \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
ASM_OUTPUT_
DOUBLE_OPERAND (FILE, r); }
\
ASM_OUTPUT_
LONG_DOUBLE_OPERAND (FILE, r); }
\
else { putc ('$', FILE); output_addr_const (FILE, X); }}
else { putc ('$', FILE); output_addr_const (FILE, X); }}
/* Note that this contains a kludge that knows that the only reason
/* Note that this contains a kludge that knows that the only reason
...
...
gcc/config/m68k/news.h
View file @
0b412022
...
@@ -338,7 +338,7 @@ do { char dstr[30]; \
...
@@ -338,7 +338,7 @@ do { char dstr[30]; \
{ REAL_VALUE_TYPE r; \
{ REAL_VALUE_TYPE r; \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
ASM_OUTPUT_LONG_DOUBLE_OPERAND (FILE, r); } \
ASM_OUTPUT_LONG_DOUBLE_OPERAND (FILE, r); } \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X)
!= DI
mode) \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X)
== DF
mode) \
{ REAL_VALUE_TYPE r; char dstr[30]; \
{ REAL_VALUE_TYPE r; char dstr[30]; \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
REAL_VALUE_FROM_CONST_DOUBLE (r, X); \
REAL_VALUE_TO_DECIMAL (r, "%.20e", dstr ); \
REAL_VALUE_TO_DECIMAL (r, "%.20e", dstr ); \
...
...
gcc/config/ns32k/genix.h
View file @
0b412022
/* Definitions of target machine for GNU compiler. Genix ns32000 version.
/* Definitions of target machine for GNU compiler. Genix ns32000 version.
Copyright (C) 1987, 1988 Free Software Foundation, Inc.
Copyright (C) 1987, 1988
, 1994
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -153,7 +153,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -153,7 +153,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
break; \
break; \
} \
} \
} \
} \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) !=
DI
mode) \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) !=
VOID
mode) \
if (GET_MODE (X) == DFmode) \
if (GET_MODE (X) == DFmode) \
{ union { double d; int i[2]; } u; \
{ union { double d; int i[2]; } u; \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
...
...
gcc/config/ns32k/merlin.h
View file @
0b412022
/* Definitions of target machine for GNU compiler. MERLIN NS32000 version.
/* Definitions of target machine for GNU compiler. MERLIN NS32000 version.
Copyright (C) 1990 Free Software Foundation, Inc.
Copyright (C) 1990
, 1994
Free Software Foundation, Inc.
By Mark Mason (mason@reed.bitnet, pyramid!unify!mason@uunet.uu.net).
By Mark Mason (mason@reed.bitnet, pyramid!unify!mason@uunet.uu.net).
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -112,7 +112,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -112,7 +112,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
break; \
break; \
} \
} \
} \
} \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) !=
DI
mode) \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) !=
VOID
mode) \
if (GET_MODE (X) == DFmode) \
if (GET_MODE (X) == DFmode) \
{ union { double d; int i[2]; } u; \
{ union { double d; int i[2]; } u; \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
...
...
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