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
2dc211c5
Commit
2dc211c5
authored
Nov 21, 2010
by
Paul Koning
Committed by
Paul Koning
Nov 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/mips/pdp11.md (negsi2): Fix wrong code.
From-SVN: r167006
parent
e4942929
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+4
-0
gcc/config/pdp11/pdp11.md
+3
-2
No files found.
gcc/ChangeLog
View file @
2dc211c5
2010
-
11
-
21
Paul
Koning
<
ni1d
@arrl
.
net
>
2010
-
11
-
21
Paul
Koning
<
ni1d
@arrl
.
net
>
*
config
/
mips
/
pdp11
.
md
(
negsi2
)
:
Fix
wrong
code
.
2010
-
11
-
21
Paul
Koning
<
ni1d
@arrl
.
net
>
*
config
/
mips
/
pdp11
.
c
(
pdp11_legitimate_address_p
)
:
New
function
.
*
config
/
mips
/
pdp11
.
c
(
pdp11_legitimate_address_p
)
:
New
function
.
*
config
/
mips
/
pdp11
.
h
(
GO_IF_LEGITIMATE_ADDRESS
)
:
Delete
.
*
config
/
mips
/
pdp11
.
h
(
GO_IF_LEGITIMATE_ADDRESS
)
:
Delete
.
gcc/config/pdp11/pdp11.md
View file @
2dc211c5
...
@@ -1149,12 +1149,13 @@
...
@@ -1149,12 +1149,13 @@
operands
[
1
]
= gen_rtx_REG (HImode, REGNO (operands
[
1
]
) + 1);
operands
[
1
]
= gen_rtx_REG (HImode, REGNO (operands
[
1
]
) + 1);
output_asm_insn (
\"
com %0
\"
, lateoperands);
output_asm_insn (
\"
com %0
\"
, lateoperands);
output_asm_insn (
\"
neg %0
\"
, operands);
output_asm_insn (
\"
com %0
\"
, operands);
output_asm_insn (
\"
add $1, %0
\"
, operands);
output_asm_insn (
\"
adc %0
\"
, lateoperands);
output_asm_insn (
\"
adc %0
\"
, lateoperands);
return
\"\"
;
return
\"\"
;
}
}
[
(set_attr "length" "1
0
")
]
)
[
(set_attr "length" "1
4
")
]
)
(define_insn "neghi2"
(define_insn "neghi2"
[
(set (match_operand:HI 0 "nonimmediate_operand" "=rR,Q")
[
(set (match_operand:HI 0 "nonimmediate_operand" "=rR,Q")
...
...
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