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
0cd02cbb
Commit
0cd02cbb
authored
Apr 26, 1993
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ASM_OUTPUT_LONG_DOUBLE): New macro.
From-SVN: r4234
parent
33d9bef5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
gcc/config/sparc/sparc.h
+11
-0
gcc/config/sparc/sysv4.h
+13
-0
No files found.
gcc/config/sparc/sparc.h
View file @
0cd02cbb
...
@@ -1629,6 +1629,17 @@ extern struct rtx_def *legitimize_pic_address ();
...
@@ -1629,6 +1629,17 @@ extern struct rtx_def *legitimize_pic_address ();
fprintf (FILE, "\t.single 0r%.9g\n", VALUE); \
fprintf (FILE, "\t.single 0r%.9g\n", VALUE); \
}
}
/* This is how to output an assembler line defining a `long double'
constant. */
#define ASM_OUTPUT_LONG_DOUBLE(FILE,VALUE) \
{ \
long t[4]; \
REAL_VALUE_TO_TARGET_LONG_DOUBLE ((VALUE), t); \
fprintf (FILE, "\t%s\t0x%lx\n\t%s\t0x%lx\n\t%s\t0x%lx\n\t%s\t0x%lx\n", \
ASM_LONG, t[0], ASM_LONG, t[1], ASM_LONG, t[2], ASM_LONG, t[3]); \
}
/* This is how to output an assembler line defining an `int' constant. */
/* This is how to output an assembler line defining an `int' constant. */
#define ASM_OUTPUT_INT(FILE,VALUE) \
#define ASM_OUTPUT_INT(FILE,VALUE) \
...
...
gcc/config/sparc/sysv4.h
View file @
0cd02cbb
...
@@ -184,3 +184,16 @@ do { long value[2]; \
...
@@ -184,3 +184,16 @@ do { long value[2]; \
#endif
/* word order matches */
#endif
/* word order matches */
#endif
/* HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT */
#endif
/* HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT */
/* This is how to output an assembler line defining a `long double'
constant. */
#undef ASM_OUTPUT_LONG_DOUBLE
#define ASM_OUTPUT_LONG_DOUBLE(FILE,VALUE) \
do { long value[4]; \
REAL_VALUE_TO_TARGET_LONG_DOUBLE ((VALUE), value); \
fprintf((FILE), "\t.long\t0x%x\n", value[0]); \
fprintf((FILE), "\t.long\t0x%x\n", value[1]); \
fprintf((FILE), "\t.long\t0x%x\n", value[2]); \
fprintf((FILE), "\t.long\t0x%x\n", value[3]); \
} while (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