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
8291cc0e
Commit
8291cc0e
authored
Mar 18, 2003
by
Geoffrey Keating
Committed by
Geoffrey Keating
Mar 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
From-SVN: r64548
parent
91d167bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/config/rs6000/rs6000.md
+2
-2
No files found.
gcc/ChangeLog
View file @
8291cc0e
2003-03-18 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
2003-03-18 Richard Henderson <rth@redhat.com>
* config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
...
...
gcc/config/rs6000/rs6000.md
View file @
8291cc0e
...
...
@@ -9843,12 +9843,12 @@
(define_insn "macho_correct_pic"
[
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(plus:SI (match_operand:SI 1 "gpc_reg_operand" "
=
r")
(plus:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(unspec:SI
[
(match_operand:SI 2 "immediate_operand" "s")
(match_operand:SI 3 "immediate_operand" "s")]
16)))]
"DEFAULT_ABI == ABI_DARWIN"
"addis %0,%1,ha16(%2-%3)
\n\t
addi %
1,%1
,lo16(%2-%3)"
"addis %0,%1,ha16(%2-%3)
\n\t
addi %
0,%0
,lo16(%2-%3)"
[
(set_attr "length" "8")
]
)
;; If the TOC is shared over a translation unit, as happens with all
...
...
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