diff options
| author | erifan01 <eric.fang@arm.com> | 2019-03-21 03:24:47 +0000 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2019-03-22 15:09:47 +0000 |
| commit | d0cbf9bf53ceb989f79addf4b91346840b3b8a57 (patch) | |
| tree | 4ef4c3be1efdf5a25671fdcd34aaa221030d91f9 /test/codegen/mathbits.go | |
| parent | 98891386146413e902bef41a7feb7595b86e4c1d (diff) | |
| download | go-d0cbf9bf53ceb989f79addf4b91346840b3b8a57.tar.xz | |
cmd/compile: follow up intrinsifying math/bits.Add64 for arm64
This CL deals with the additional comments of CL 159017.
Change-Id: I4ad3c60c834646d58dc0c544c741b92bfe83fb8b
Reviewed-on: https://go-review.googlesource.com/c/go/+/168857
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/codegen/mathbits.go')
| -rw-r--r-- | test/codegen/mathbits.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/mathbits.go b/test/codegen/mathbits.go index 5c541bfd29..b6992c6bb4 100644 --- a/test/codegen/mathbits.go +++ b/test/codegen/mathbits.go @@ -387,7 +387,7 @@ func AddC(x, ci uint) (r, co uint) { } func AddZ(x, y uint) (r, co uint) { - // arm64:"ADDS","ADCS","ADC",-"ADD\t",-"CMP" + // arm64:"ADDS","ADC",-"ADCS",-"ADD\t",-"CMP" // amd64:"ADDQ","SBBQ","NEGQ",-"NEGL",-"ADCQ" return bits.Add(x, y, 0) } @@ -420,7 +420,7 @@ func Add64C(x, ci uint64) (r, co uint64) { } func Add64Z(x, y uint64) (r, co uint64) { - // arm64:"ADDS","ADCS","ADC",-"ADD\t",-"CMP" + // arm64:"ADDS","ADC",-"ADCS",-"ADD\t",-"CMP" // amd64:"ADDQ","SBBQ","NEGQ",-"NEGL",-"ADCQ" return bits.Add64(x, y, 0) } |
