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
f1d94725
Commit
f1d94725
authored
Jan 13, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fullword move): Call output_move_const_into_data_reg.
From-SVN: r8752
parent
8dbda09a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
24 deletions
+3
-24
gcc/config/m68k/m68k.md
+3
-24
No files found.
gcc/config/m68k/m68k.md
View file @
f1d94725
;;- Machine description for GNU compiler, Motorola 68000 Version
;;- Machine description for GNU compiler, Motorola 68000 Version
;; Copyright (C) 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
;; Copyright (C) 1987, 1988, 1993, 1994
, 1995
Free Software Foundation, Inc.
;; This file is part of GNU CC.
;; This file is part of GNU CC.
...
@@ -776,29 +776,8 @@
...
@@ -776,29 +776,8 @@
|| !(GET_CODE (operands
[
0
]
) == MEM
|| !(GET_CODE (operands
[
0
]
) == MEM
&& MEM_VOLATILE_P (operands
[
0
]
))))
&& MEM_VOLATILE_P (operands
[
0
]
))))
return
\"
clr%.l %0
\"
;
return
\"
clr%.l %0
\"
;
else if (DATA_REG_P (operands
[
0
]
)
else if (DATA_REG_P (operands
[
0
]
))
&& INTVAL (operands
[
1
]
) < 128
return output_move_const_into_data_reg (operands);
&& INTVAL (operands
[
1
]
) >= -128)
{
#if defined(MOTOROLA) && !defined(CRDS)
return
\"
moveq%.l %1,%0
\"
;
#else
return
\"
moveq %1,%0
\"
;
#endif
}
else if (DATA_REG_P (operands
[
0
]
)
/
*
if -256 < N < 256 but N is not in range for a moveq
N^ff will be, so use moveq #N^ff, dreg; not.b dreg.
*
/
&& INTVAL (operands
[
1
]
) < 256
&& INTVAL (operands
[
1
]
) >= -256)
{
operands
[
1
]
= gen_rtx (CONST_INT, VOIDmode, INTVAL (operands
[
1
]
) ^ 0xff);
#if defined(MOTOROLA) && !defined(CRDS)
return
\"
moveq%.l %1,%0
\;
not%.b %0
\"
;
#else
return
\"
moveq %1,%0
\;
not%.b %0
\"
;
#endif
}
else if (ADDRESS_REG_P (operands
[
0
]
)
else if (ADDRESS_REG_P (operands
[
0
]
)
&& INTVAL (operands
[
1
]
) < 0x8000
&& INTVAL (operands
[
1
]
) < 0x8000
&& INTVAL (operands
[
1
]
) >= -0x8000)
&& INTVAL (operands
[
1
]
) >= -0x8000)
...
...
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