]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm: add BFC/BFI to arm's assembler
authorBen Shi <powerman1st@163.com>
Tue, 24 Oct 2017 06:32:45 +0000 (06:32 +0000)
committerCherry Zhang <cherryyz@google.com>
Fri, 3 Nov 2017 14:06:21 +0000 (14:06 +0000)
commit1ac884698446b034bfd4c671c1284058921a6ea4
tree1066b01de4608366be29495dbe341380b3cc505a
parent6de53832ae7678f18e1b4077134764b11687992d
cmd/internal/obj/arm: add BFC/BFI to arm's assembler

BFC (Bit Field Clear) and BFI (Bit Field Insert) were
introduced in ARMv6T2, and the compiler can use them
to do further optimization.

Change-Id: I5a3fbcd2c2400c9bf4b939da6366c854c744c27f
Reviewed-on: https://go-review.googlesource.com/72891
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/arch/arm.go
src/cmd/asm/internal/asm/testdata/arm.s
src/cmd/asm/internal/asm/testdata/armerror.s
src/cmd/internal/obj/arm/a.out.go
src/cmd/internal/obj/arm/anames.go
src/cmd/internal/obj/arm/asm5.go