aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/gc/asm_test.go52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/cmd/compile/internal/gc/asm_test.go b/src/cmd/compile/internal/gc/asm_test.go
index deafdf5894..faee6d7c93 100644
--- a/src/cmd/compile/internal/gc/asm_test.go
+++ b/src/cmd/compile/internal/gc/asm_test.go
@@ -547,34 +547,6 @@ var linuxAMD64Tests = []*asmTest{
`,
pos: []string{"\tROLW\t\\$8,"},
},
- {
- fn: `
- func pop1(x uint64) int {
- return bits.OnesCount64(x)
- }`,
- pos: []string{"\tPOPCNTQ\t", "support_popcnt"},
- },
- {
- fn: `
- func pop2(x uint32) int {
- return bits.OnesCount32(x)
- }`,
- pos: []string{"\tPOPCNTL\t", "support_popcnt"},
- },
- {
- fn: `
- func pop3(x uint16) int {
- return bits.OnesCount16(x)
- }`,
- pos: []string{"\tPOPCNTL\t", "support_popcnt"},
- },
- {
- fn: `
- func pop4(x uint) int {
- return bits.OnesCount(x)
- }`,
- pos: []string{"\tPOPCNTQ\t", "support_popcnt"},
- },
// multiplication merging tests
{
fn: `
@@ -1492,30 +1464,6 @@ var linuxARM64Tests = []*asmTest{
`,
pos: []string{"TBZ"},
},
- {
- fn: `
- func $(x uint64) int {
- return bits.OnesCount64(x)
- }
- `,
- pos: []string{"\tVCNT\t", "\tVUADDLV\t"},
- },
- {
- fn: `
- func $(x uint32) int {
- return bits.OnesCount32(x)
- }
- `,
- pos: []string{"\tVCNT\t", "\tVUADDLV\t"},
- },
- {
- fn: `
- func $(x uint16) int {
- return bits.OnesCount16(x)
- }
- `,
- pos: []string{"\tVCNT\t", "\tVUADDLV\t"},
- },
// Load-combining tests.
{
fn: `