package tests
import "github.com/mmcloughlin/avo/tests"
Package tests contains avo integration tests.
Index ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
tests/alloc | |
tests/alloc/gp8 | Package gp8 tests the register allocator by using as many 8-bit registers as possible. |
tests/alloc/masks | Package masks tests that register liveness and allocation passes handle masks correctly. |
tests/alloc/upper32 | Package upper32 tests liveness analysis of 32-bit operations on 64-bit registers. |
tests/alloc/zeroing | Package zeroing tests liveness analysis of AVX-512 operations with zeroing masking. |
tests/cast | Package cast tests casting virtual registers to different sizes. |
tests/fixedbugs | |
tests/fixedbugs/issue100 | |
tests/fixedbugs/issue100/allocfail | Package allocfail is a regression test for issue 100 based on the original reported allocation failure. |
tests/fixedbugs/issue100/minrepro | Package minrepro contains a minimal reproducer for the aliased register allocation bug in issue 100. |
tests/fixedbugs/issue122 | Package issue122 tests consecutive labels. |
tests/fixedbugs/issue191 | Package issue191 tests for correct argument size for a function taking a single uint16 argument. |
tests/fixedbugs/issue195 | Package issue195 tests for correct argument size for a function without return types. |
tests/fixedbugs/issue336 | Package issue336 tests boolean arguments and return values. |
tests/fixedbugs/issue387 | Package issue387 tests representation of floating point data with integer values. |
tests/fixedbugs/issue50 | Package issue50 tests for 32-bit MOVD/MOVQ instruction forms. |
tests/fixedbugs/issue62 | Package issue62 tests for using Implement() with an unexported function. |
tests/fixedbugs/issue65 | Package issue65 is a regression test for a bug involving casting physical registers. |
tests/fixedbugs/issue68 | Package custom tests overriding package name with the CLI. |
tests/fixedbugs/issue76 | Package issue76 deliberately produces redundant MOV instructions. |
tests/fixedbugs/issue89 | Package issue89 tests register allocation with self-cancelling inputs. |
tests/fmt | Package fmt tests assembly printer formatting. |
tests/labels | Package labels tests for cleanup of redundant labels. |
tests/signature | Package signature tests handling of random function signatures. |
tests/textflag | Package textflag tests that avo attribute constants agree with textflag.h. |
tests/thirdparty | Package thirdparty executes integration tests based on third-party projects that use avo. |
- Version
- v0.6.0 (latest)
- Published
- Jan 7, 2024
- Platform
- linux/amd64
- Last checked
- 1 month ago –
Tools for package owners.