| 1 |
//go:build arm64 && !appengine && !noasm && gc |
| 2 |
|
| 3 |
// arm64 stubs and dispatch for the asm loops used by decompress_asm.go. |
| 4 |
// The asm (decompress_arm64.s) is generated by the avo arm64 lowering |
| 5 |
// printer from the same source as the amd64 asm; see _generate/gen.go. |
| 6 |
package huff0 |
| 7 |
|
| 8 |
// decompress4x_main_loop_arm64 is an arm64 assembler implementation |
| 9 |
// of Decompress4X when tablelog > 8. |
| 10 |
// |
| 11 |
//go:noescape |
| 12 |
func decompress4x_main_loop_arm64(ctx *decompress4xContext) |
| 13 |
|
| 14 |
// decompress4x_8b_main_loop_arm64 is an arm64 assembler implementation |
| 15 |
// of Decompress4X when tablelog <= 8 which decodes 4 entries |
| 16 |
// per loop. |
| 17 |
// |
| 18 |
//go:noescape |
| 19 |
func decompress4x_8b_main_loop_arm64(ctx *decompress4xContext) |
| 20 |
|
| 21 |
// decompress1x_main_loop_arm64 is an arm64 assembler implementation |
| 22 |
// of Decompress1X when tablelog > 8. |
| 23 |
// |
| 24 |
//go:noescape |
| 25 |
func decompress1x_main_loop_arm64(ctx *decompress1xContext) |
| 26 |
|
| 27 |
func decompress4x_main_loop_asm(ctx *decompress4xContext) { |
| 28 |
decompress4x_main_loop_arm64(ctx) |
| 29 |
} |
| 30 |
|
| 31 |
func decompress4x_8b_main_loop_asm(ctx *decompress4xContext) { |
| 32 |
decompress4x_8b_main_loop_arm64(ctx) |
| 33 |
} |
| 34 |
|
| 35 |
func decompress1x_main_loop_asm(ctx *decompress1xContext) { |
| 36 |
decompress1x_main_loop_arm64(ctx) |
| 37 |
} |