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
ea55c5c6
Commit
ea55c5c6
authored
Dec 12, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded casts to char *.
From-SVN: r13292
parent
94339136
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
17 deletions
+19
-17
gcc/config/1750a/1750a.md
+19
-17
No files found.
gcc/config/1750a/1750a.md
View file @
ea55c5c6
...
...
@@ -188,10 +188,12 @@
"
*
{
rtx regops
[
3
]
;
regops
[
0
]
= XEXP(operands
[
0
]
,0);
regops
[
1
]
= XEXP(operands
[
1
]
,0);
regops[0] = XEXP (operands[0], 0);
regops[1] = XEXP (operands[1], 0);
regops[2] = operands[2];
return (char
*
)movcnt_regno_adjust(regops);
return movcnt_regno_adjust (regops);
} ")
...
...
@@ -708,7 +710,7 @@
new_opnds
[
2
]
= gen_rtx (CONST_INT, VOIDmode, -INTVAL(operands
[
2
]
));
new_opnds
[
3
]
= operands
[
3
]
;
istr =
\"
disn
\"
;
return
(char
*
)mod_regno_adjust(istr,
new_opnds);
return
mod_regno_adjust (istr,
new_opnds);
}
break;
case 2:
...
...
@@ -721,7 +723,7 @@
istr =
\"
dv
\"
;
break;
}
return
(char
*
)mod_regno_adjust(istr,
operands);
return
mod_regno_adjust (istr,
operands);
}")
;; Division for other types is straightforward.
...
...
@@ -1150,7 +1152,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"
* return
(char *
)branch_or_jump(
\"
ez
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
ez
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn "bne"
...
...
@@ -1160,7 +1162,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"
* return
(char *
)branch_or_jump(
\"
nz
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
nz
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn "bgt"
...
...
@@ -1170,7 +1172,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"
* return
(char *
)branch_or_jump(
\"
gt
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
gt
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn "blt"
...
...
@@ -1180,7 +1182,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"
* return
(char *
)branch_or_jump(
\"
lt
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
lt
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn "bge"
...
...
@@ -1190,7 +1192,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"
* return
(char *
)branch_or_jump(
\"
ge
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
ge
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn "ble"
...
...
@@ -1200,7 +1202,7 @@
(label_ref (match_operand 0 "" ""))
(pc)))]
""
"
* return
(char *
)branch_or_jump(
\"
le
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
le
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
...
...
@@ -1252,7 +1254,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"
* return
(char *
)branch_or_jump(
\"
nz
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
nz
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn ""
...
...
@@ -1262,7 +1264,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"
* return
(char *
)branch_or_jump(
\"
ez
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
ez
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn ""
...
...
@@ -1272,7 +1274,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"
* return
(char *
)branch_or_jump(
\"
le
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
le
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn ""
...
...
@@ -1282,7 +1284,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"
* return
(char *
)branch_or_jump(
\"
ge
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
ge
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn ""
...
...
@@ -1292,7 +1294,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"
* return
(char *
)branch_or_jump(
\"
lt
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
lt
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
(define_insn ""
...
...
@@ -1302,7 +1304,7 @@
(pc)
(label_ref (match_operand 0 "" ""))))]
""
"
* return
(char *
)branch_or_jump(
\"
gt
\"
,CODE_LABEL_NUMBER
(operands
[
0
]
));
"
*
return
branch_or_jump (
\"
gt
\"
, CODE_LABEL_NUMBER
(operands
[
0
]
));
")
...
...
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