From 462471469ee6d6ad41c8ddd34a3f3ef9a6cea1d7 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 19 Jan 2019 21:20:47 +0000 Subject: [PATCH] Fix encoding of ROR and EXTR instructions. --- src/compiler/machines/aarch64/instr2.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/machines/aarch64/instr2.scm b/src/compiler/machines/aarch64/instr2.scm index f86ba3796..e0b9b29cd 100644 --- a/src/compiler/machines/aarch64/instr2.scm +++ b/src/compiler/machines/aarch64/instr2.scm @@ -293,7 +293,7 @@ USA. (? Rn) ,@(if m=n? '() '((? Rm))) (&U (? s unsigned-5))) - (BITS (1 0) ;sf=0 + (BITS (1 0) ;sf=0, 32-bit operand size (2 ,op21) (1 1) (4 #b0011) @@ -309,12 +309,12 @@ USA. (? Rn) ,@(if m=n? '() '((? Rm))) (&U (? s unsigned-6))) - (BITS (1 0) ;sf=0 + (BITS (1 1) ;sf=1, 64-bit operand size (2 ,op21) (1 1) (4 #b0011) (1 1) - (1 0) ;N, must match sf + (1 1) ;N, must match sf (1 ,o0) (5 ,(if m=n? 'Rn 'Rm)) (6 s) -- 2.25.1