]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: fix assemble fcsels/fcseld bug
authorfanzha02 <fannie.zhang@arm.com>
Wed, 14 Jun 2017 06:44:43 +0000 (06:44 +0000)
committerCherry Zhang <cherryyz@google.com>
Fri, 25 Aug 2017 20:43:03 +0000 (20:43 +0000)
commitaea286b449c5ffe6d69fb7bb0c5b05e480ed3ad9
treeaf216d33029e1d27878c592b8375cd75607e0a34
parent38bd725bf1d20c32487ae7e12e37c0060a46ac0f
cmd/internal/obj/arm64: fix assemble fcsels/fcseld bug

The current code treats the type of SIMD&FP register as C_REG incorrectly.

The fix code converts C_REG type into C_FREG type.

Uncomment fcsels/fcseld test cases.

Fixes #21582
Change-Id: I754c51f72a0418bd352cbc0f7740f14cc599c72d
Reviewed-on: https://go-review.googlesource.com/58350
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/asm/internal/asm/testdata/arm64enc.s
src/cmd/internal/obj/arm64/asm7.go