]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: fix the error of checking the post-index offset of VLD[1-4]R instructions...
authorfanzha02 <fannie.zhang@arm.com>
Thu, 20 Aug 2020 10:39:46 +0000 (18:39 +0800)
committerfannie zhang <Fannie.Zhang@arm.com>
Mon, 7 Sep 2020 03:28:25 +0000 (03:28 +0000)
commit0e19aaabc052f858beed7d174a55d4110c8d66a0
tree47ec99978303dbec47c1aa74ad08420133ebb2a2
parent1a119edd8b4364a8c8342194648166ca5851f061
cmd/asm: fix the error of checking the post-index offset of VLD[1-4]R instructions of arm64

The post-index offset of VLD[1-4]R instructions is decided by the
"size" field not "Q" field, the current assembler uses "Q" fileld
to check the correctness of post-index offset which is not correct.
This patch fixes it.

Fixes #40725

Change-Id: If1cde7f21c6b3ee0e491649eb567700bd1475c84
Reviewed-on: https://go-review.googlesource.com/c/go/+/249757
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/arm64.s
src/cmd/asm/internal/asm/testdata/arm64error.s
src/cmd/internal/obj/arm64/asm7.go