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
73a697d9
Commit
73a697d9
authored
Aug 31, 2001
by
Nick Clifton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip TRUNCATE operators in const pool addresses for v850 short switch tables
From-SVN: r45326
parent
ef7112de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
gcc/config/v850/v850.h
+12
-0
No files found.
gcc/config/v850/v850.h
View file @
73a697d9
...
...
@@ -1248,6 +1248,18 @@ do { \
#undef USER_LABEL_PREFIX
#define USER_LABEL_PREFIX "_"
/* When ASM_OUTPUT_SHORT is used to emit the offsets for a switch
table it can encounter (TRUNCATE:HI (MINUS:SI (LABEL_REF:SI) (LABEL_REF:SI))).
output_addr_const will normally barf at this, but it is OK to omit
the truncate and just emit the difference of the two labels. The
.hword directive will automatically handle the truncation for us. */
#define OUTPUT_ADDR_CONST_EXTRA(FILE, X, FAIL) \
if (GET_CODE (x) == TRUNCATE) \
return output_addr_const (FILE, XEXP (X, 0)); \
else \
goto FAIL;
/* This is how to output an assembler line defining a `double' constant.
It is .double or .float, depending. */
...
...
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