build: mov deduction for booleans (#341)

Updates #336
This commit is contained in:
Michael McLoughlin
2022-11-26 19:30:55 -08:00
committed by GitHub
parent ef60a33bf0
commit 127528d117
7 changed files with 280 additions and 146 deletions

View File

@@ -0,0 +1,15 @@
// Code generated by command: go run asm.go -out issue336.s -stubs stub.go. DO NOT EDIT.
package issue336
// Not8 returns the boolean negation of x using a 8-bit intermediate.
func Not8(x bool) bool
// Not16 returns the boolean negation of x using a 16-bit intermediate.
func Not16(x bool) bool
// Not32 returns the boolean negation of x using a 32-bit intermediate.
func Not32(x bool) bool
// Not64 returns the boolean negation of x using a 64-bit intermediate.
func Not64(x bool) bool