summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-14 13:23:28 -0800
committerQuentin Carbonneaux <quentin@c9x.me>2019-03-14 10:12:55 +0100
commitf622efa05a3fbd4938d1fb09e692ae0785770bc1 (patch)
treedb5fafeb08735aa6ac3127597b61a6b149982b55 /tools
parentb777cd6c4becf0d834f8fa549315fa11918a53be (diff)
downloadroux-f622efa05a3fbd4938d1fb09e692ae0785770bc1.tar.gz
Rearrange the fields in Ins so the bit-fields get packed together
Diffstat (limited to 'tools')
-rw-r--r--tools/pmov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pmov.c b/tools/pmov.c
index 62d3921..ffc38ea 100644
--- a/tools/pmov.c
+++ b/tools/pmov.c
@@ -62,11 +62,11 @@ main()
 				break;
 			case 2:
 				/* in copy, not in reg */
-				*ip++ = (Ins){OCopy, TMP(Tmp0+t), {R, R}, Kw};
+				*ip++ = (Ins){OCopy, Kw, TMP(Tmp0+t), {R, R}};
 				break;
 			case 3:
 				/* in copy, in reg */
-				*ip++ = (Ins){OCopy, TMP(Tmp0+t), {R, R}, Kw};
+				*ip++ = (Ins){OCopy, Kw, TMP(Tmp0+t), {R, R}};
 				radd(&mbeg, Tmp0+t, t+1);
 				break;
 			}