diff options
| author | Ben Shi <powerman1st@163.com> | 2017-06-09 10:24:42 +0000 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2017-06-09 14:14:30 +0000 |
| commit | d3d548913570f7b7c1ae2672624607d5831032b1 (patch) | |
| tree | ad0606e532ed4f83d3dc86f0c2b309715f90109a /src/database/sql | |
| parent | 11c61eb6afaf72c4919cc7806f1016c8bcdf311a (diff) | |
| download | go-d3d548913570f7b7c1ae2672624607d5831032b1.tar.xz | |
cmd/internal/obj/arm: fix encoding of move register/immediate to CPSR
"MOVW R1, CPSR" is assembled to 0xe129f001, which should be 0xe12cf001.
"MOVW $255, CPSR" is assembled to 0xe329f0ff, which should be 0xe32cf0ff.
This patch fixes them and adds more assembly encoding tests.
fix #20626
Change-Id: Iefc945879ea774edf40438ce39f52c144e1501a1
Reviewed-on: https://go-review.googlesource.com/45170
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
