package tests

import "github.com/mmcloughlin/avo/tests"

Package tests contains avo integration tests.

Index

Source Files

doc.go

Directories

PathSynopsis
tests/alloc
tests/alloc/gp8Package gp8 tests the register allocator by using as many 8-bit registers as possible.
tests/alloc/masksPackage masks tests that register liveness and allocation passes handle masks correctly.
tests/alloc/upper32Package upper32 tests liveness analysis of 32-bit operations on 64-bit registers.
tests/alloc/zeroingPackage zeroing tests liveness analysis of AVX-512 operations with zeroing masking.
tests/castPackage cast tests casting virtual registers to different sizes.
tests/fixedbugs
tests/fixedbugs/issue100
tests/fixedbugs/issue100/allocfailPackage allocfail is a regression test for issue 100 based on the original reported allocation failure.
tests/fixedbugs/issue100/minreproPackage minrepro contains a minimal reproducer for the aliased register allocation bug in issue 100.
tests/fixedbugs/issue122Package issue122 tests consecutive labels.
tests/fixedbugs/issue191Package issue191 tests for correct argument size for a function taking a single uint16 argument.
tests/fixedbugs/issue195Package issue195 tests for correct argument size for a function without return types.
tests/fixedbugs/issue336Package issue336 tests boolean arguments and return values.
tests/fixedbugs/issue387Package issue387 tests representation of floating point data with integer values.
tests/fixedbugs/issue50Package issue50 tests for 32-bit MOVD/MOVQ instruction forms.
tests/fixedbugs/issue62Package issue62 tests for using Implement() with an unexported function.
tests/fixedbugs/issue65Package issue65 is a regression test for a bug involving casting physical registers.
tests/fixedbugs/issue68Package custom tests overriding package name with the CLI.
tests/fixedbugs/issue76Package issue76 deliberately produces redundant MOV instructions.
tests/fixedbugs/issue89Package issue89 tests register allocation with self-cancelling inputs.
tests/fmtPackage fmt tests assembly printer formatting.
tests/labelsPackage labels tests for cleanup of redundant labels.
tests/signaturePackage signature tests handling of random function signatures.
tests/textflagPackage textflag tests that avo attribute constants agree with textflag.h.
tests/thirdpartyPackage 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.