Skip to content

Commit d0ff9ec

Browse files
benshi001bradfitz
authored andcommitted
cmd/internal/obj/arm: Fix wrong assembly in the arm assembler
As #19357 reported, TST has 3 different sub forms TST $imme, Rx TST Ry << imme, Rx TST Ry << Rz, Rx just like CMP/CMN/TEQ has. But current arm assembler assembles all TST instructions wrongly. This patch fixes it and adds more tests. Fixes #19357 Change-Id: Iafedccfaab2cbb2631e7acf259837a782e2e8e2f Reviewed-on: https://go-review.googlesource.com/37662 Run-TryBot: Brad Fitzpatrick <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent c46226a commit d0ff9ec

File tree

2 files changed

+665
-6
lines changed
  • src/cmd

2 files changed

+665
-6
lines changed

0 commit comments

Comments
 (0)