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
2ae508e5
Commit
2ae508e5
authored
Mar 11, 1996
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(move_pic_label_si,move_label_di): Rewrite length
attr calcs to be more conservative. From-SVN: r11509
parent
43127294
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/config/sparc/sparc.md
+4
-4
No files found.
gcc/config/sparc/sparc.md
View file @
2ae508e5
...
...
@@ -1555,9 +1555,9 @@
return
\"\\
n1:
\;
call 2f
\;
sethi %%hi(%l1-1b),%0
\\
n2:
\\
tor %0,%%lo(%l1-1b),%0
\;
add %0,%%o7,%0
\"
;
}"
[
(set_attr "type" "multi")
;
1024 = 4096 bytes / 4 bytes/insn
;
960 = 4096 bytes / 4 bytes/insn - 64 (for not always perfect length calcs)
(set (attr "length") (if_then_else (ltu (minus (match_dup 1) (pc))
(const_int
1024
))
(const_int
960
))
(const_int 2)
(const_int 4)))])
...
...
@@ -1583,9 +1583,9 @@
return
\"\\
n1:
\;
rd %%pc,%%o7
\;
sethi %%hi(%l1-1b),%0
\;
add %0,%%lo(%l1-1b),%0
\;
sra %0,0,%0
\;
add %0,%%o7,%0
\"
;
}"
[
(set_attr "type" "multi")
;
1024 = 4096 bytes / 4 bytes/insn
;
960 = 4096 bytes / 4 bytes/insn - 64 (for not always perfect length calcs)
(set (attr "length") (if_then_else (ltu (minus (match_dup 1) (pc))
(const_int
1024
))
(const_int
960
))
(const_int 2)
(const_int 5)))])
...
...
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