diff options
| author | fanzha02 <fannie.zhang@arm.com> | 2021-09-06 11:15:30 +0800 |
|---|---|---|
| committer | fannie zhang <Fannie.Zhang@arm.com> | 2021-09-06 03:31:53 +0000 |
| commit | 7b69ddc171938b8321a535dd79b8ca2ba56ac72d (patch) | |
| tree | 25a037893bb0068c3960cec1138fdf1874dd545f /src/syscall/exec_linux.go | |
| parent | 43b05173a219e19697c2f9c6d98cf4d8667b7ca5 (diff) | |
| download | go-7b69ddc171938b8321a535dd79b8ca2ba56ac72d.tar.xz | |
cmd/compile: merge sign extension and shift into SBFIZ
This patch adds some rules to rewrite "(LeftShift (SignExtend x) lc)"
expression as "SBFIZ".
Add the test cases.
Change-Id: I294c4ba09712eeb02c7a952447bb006780f1e60d
Reviewed-on: https://go-review.googlesource.com/c/go/+/267602
Trust: fannie zhang <Fannie.Zhang@arm.com>
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: fannie zhang <Fannie.Zhang@arm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
