Backfill func validation unit tests for SIMD load, store, and lane manipulations (#609)

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda
2022-06-01 12:18:08 +09:00
committed by GitHub
parent adc7e5b170
commit 41a3dd341c
6 changed files with 357 additions and 33 deletions

View File

@@ -214,11 +214,13 @@ func (o OperandTypes) String() string {
// AssemblerImpl implements Assembler.
type AssemblerImpl struct {
asm.BaseAssemblerImpl
EnablePadding bool
Root, Current *NodeImpl
nodeCount int
Buf *bytes.Buffer
ForceReAssemble bool
EnablePadding bool
Root, Current *NodeImpl
nodeCount int
Buf *bytes.Buffer
ForceReAssemble bool
// MaxDisplacementForConstantPool is fixed to defaultMaxDisplacementForConstantPool
// but have it as a field here for testability.
MaxDisplacementForConstantPool int
pool constPool

View File

@@ -212,11 +212,13 @@ func (o OperandTypes) String() string {
// AssemblerImpl implements Assembler.
type AssemblerImpl struct {
asm.BaseAssemblerImpl
Root, Current *NodeImpl
Buf *bytes.Buffer
temporaryRegister asm.Register
nodeCount int
pool constPool
Root, Current *NodeImpl
Buf *bytes.Buffer
temporaryRegister asm.Register
nodeCount int
pool constPool
// MaxDisplacementForConstantPool is fixed to defaultMaxDisplacementForConstPool
// but have it as a field here for testability.
MaxDisplacementForConstantPool int
}