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
5854b0d0
Commit
5854b0d0
authored
Feb 19, 1996
by
David Edelsohn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add AIX assembler doubleword integer syntax
From-SVN: r11308
parent
33fd3209
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
gcc/config/rs6000/rs6000.h
+20
-3
No files found.
gcc/config/rs6000/rs6000.h
View file @
5854b0d0
...
...
@@ -2285,7 +2285,7 @@ toc_section () \
fputs ("[DS]\n", FILE); \
RS6000_OUTPUT_BASENAME (FILE, NAME); \
fputs (":\n", FILE); \
fputs (
"\t.long .", FILE);
\
fputs (
(TARGET_32BIT) ? "\t.long ." : "\t.llong .", FILE);
\
RS6000_OUTPUT_BASENAME (FILE, NAME); \
fputs (", TOC[tc0], 0\n", FILE); \
fputs (".csect .text[PR]\n.", FILE); \
...
...
@@ -2593,6 +2593,23 @@ toc_section () \
/* This is how to output an assembler line defining an `int' constant. */
#define ASM_OUTPUT_DOUBLE_INT(FILE,VALUE) \
do { \
if (TARGET_32BIT) \
{ \
assemble_integer (operand_subword ((VALUE), 0, 0, DImode), \
UNITS_PER_WORD, 1); \
assemble_integer (operand_subword ((VALUE), 1, 0, DImode), \
UNITS_PER_WORD, 1); \
} \
else \
{ \
fputs ("\t.llong ", FILE); \
output_addr_const (FILE, (VALUE)); \
putc ('\n', FILE); \
} \
} while (0)
#define ASM_OUTPUT_INT(FILE,VALUE) \
( fputs ("\t.long ", FILE), \
output_addr_const (FILE, (VALUE)), \
...
...
@@ -2647,7 +2664,7 @@ do { \
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
do { char buf[100]; \
fputs (
"\t.long ", FILE);
\
fputs (
(TARGET_32BIT) ? "\t.long " : "\t.llong ", FILE);
\
ASM_GENERATE_INTERNAL_LABEL (buf, "L", VALUE); \
assemble_name (FILE, buf); \
putc ('\n', FILE); \
...
...
@@ -2657,7 +2674,7 @@ do { \
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
do { char buf[100]; \
fputs (
"\t.long ", FILE);
\
fputs (
(TARGET_32BIT) ? "\t.long " : "\t.llong ", FILE);
\
ASM_GENERATE_INTERNAL_LABEL (buf, "L", VALUE); \
assemble_name (FILE, buf); \
putc ('-', FILE); \
...
...
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