Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tiger
nolimips
Commits
ffe657ca
Commit
ffe657ca
authored
Jul 29, 2003
by
Benoit Perrot
Browse files
Normalize move to addu.
parent
9ad5c9c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ffe657ca
2003-07-29 Benot Perrot <benoit@lrde.epita.fr>
* dev/mipsy.xml, src/inst/program_builder.cc:
Normalize move to addu.
2003-07-29 Benot Perrot <benoit@lrde.epita.fr>
* dev/mipsy-builder-gen.py,
...
...
dev/mipsy.xml
View file @
ffe657ca
...
...
@@ -954,7 +954,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<!-- Data movement instructions -->
<instruction
opcode=
"move"
level=
"pseudo"
kind=
"movement"
>
<syntax
alias=
"add"
>
<syntax
alias=
"add
u
"
>
<register
/>
<register
/>
<hidden
value=
"*new Register(Register::general, Cpu::zero)"
/>
...
...
src/inst/program_builder.cc
View file @
ffe657ca
...
...
@@ -33,8 +33,8 @@ namespace inst
{
// FIXME: this move should be in the delay slot
_program
->
text_section
().
add_inst
(
*
new
Add
(
dest
,
src
,
*
new
Register
(
Register
::
general
,
Cpu
::
zero
)));
add_inst
(
*
new
Add
u
(
dest
,
src
,
*
new
Register
(
Register
::
general
,
Cpu
::
zero
)));
_program
->
text_section
().
add_inst
(
*
new
Bgez
(
src
,
*
new
IntExp
(
4
)));
_program
->
text_section
().
add_inst
(
*
new
Sub
(
dest
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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