Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
mathetake committed May 31, 2022
1 parent c67f763 commit 3e35279
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/asm/arm64/assembler.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ type Assembler interface {
// `srcIndex` and `dstIndex` respectively, but not all the instructions will use them.
CompileVectorRegisterToVectorRegister(instruction asm.Instruction, srcReg, dstReg asm.Register, arrangement VectorArrangement, srcIndex, dstIndex VectorIndex)

// CompileVectorRegisterToVectorRegisterWithConst TODO
// CompileVectorRegisterToVectorRegisterWithConst is the same as CompileVectorRegisterToVectorRegister but the additional constant can be provided.
// For example, the const can be used to specify the shift amount for USHLL instruction.
CompileVectorRegisterToVectorRegisterWithConst(instruction asm.Instruction, srcReg, dstReg asm.Register, arrangement VectorArrangement, c asm.ConstantValue)

// CompileLoadStaticConstToVectorRegister adds an instruction where the source operand is StaticConstant located in the memory
Expand Down

0 comments on commit 3e35279

Please sign in to comment.