Commit 8441e615 authored by Cyril SIX's avatar Cyril SIX
Browse files

MPPA - Operands were inverted in SBFW and SBFD instructions

parent bde53a2d
......@@ -214,9 +214,9 @@ module Target : TARGET =
fprintf oc " addd %a = %a, %a\n;;\n" ireg rd ireg rs1 ireg rs2
| Psubw(rd, rs1, rs2) ->
fprintf oc " sbfw %a = %a, %a\n;;\n" ireg rd ireg rs1 ireg rs2
fprintf oc " sbfw %a = %a, %a\n;;\n" ireg rd ireg rs2 ireg rs1
| Psubl(rd, rs1, rs2) ->
fprintf oc " sbfwd %a = %a, %a\n;;\n" ireg rd ireg rs1 ireg rs2
fprintf oc " sbfd %a = %a, %a\n;;\n" ireg rd ireg rs2 ireg rs1
| Pmulw(rd, rs1, rs2) ->
fprintf oc " mulw %a = %a, %a\n;;\n" ireg rd ireg rs1 ireg rs2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment