You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALTree
changed the title
Wrong binary generated for TST instruction by the ARM assembler
cmd/internal/obj: wrong binary generated for TST instruction by the ARM assembler
Mar 2, 2017
ALTree
added
the
NeedsFix
The path to resolution is known, but the work has not been done.
label
Mar 2, 2017
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?the newest go master branch
What operating system and processor architecture are you using (
go env
)?GOARCH=arm
GOOS=linux
What did you do?
test the arm assembler
If possible, provide a recipe for reproducing the error.
Wrong 4-byte word assembled
TST $255, R7: have encoding 000050e3, want ff0017e3
TST $4278190080, R9: have encoding 000050e3, want ff0419e3
TST R9<<30, R7: have encoding 000050e3, want 090f17e1
TST R9>>30, R7: have encoding 000050e3, want 290f17e1
TST R9->30, R7: have encoding 000050e3, want 490f17e1
TST R9@>30, R7: have encoding 000050e3, want 690f17e1
TST R9<<R8, R7: have encoding 000050e3, want 190817e1
TST R9>>R8, R7: have encoding 000050e3, want 390817e1
TST R9->R8, R7: have encoding 000050e3, want 590817e1
TST R9@>R8, R7: have encoding 000050e3, want 790817e1
The text was updated successfully, but these errors were encountered: