1
0
mirror of https://github.com/golang/go synced 2024-11-14 15:30:54 -07:00
go/src/cmd/asm
Wei Xiao 2b6c58f6d5 cmd/internal/obj/arm64: fix encoding of condition
The current code treats condition as special register and write
its raw data directly into instruction.

The fix converts the raw data into correct condition encoding.
Also fix the operand catogery of FCCMP.

Add tests to cover all cases.

Change-Id: Ib194041bd9017dd0edbc241564fe983082ac616b
Reviewed-on: https://go-review.googlesource.com/41511
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2017-04-27 13:35:59 +00:00
..
internal cmd/internal/obj/arm64: fix encoding of condition 2017-04-27 13:35:59 +00:00
doc.go
main.go cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00