Skip to content

Commit 47fd24d

Browse files
committed
Added documentation to BinaryCalculation
1 parent 4cdc87b commit 47fd24d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

usm/isa/binary_calculation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ type BinaryCalculation struct {
1616
opt.DefinesTargetsInstruction
1717
}
1818

19+
// Validates that there are exactly two arguments and one target, all of the
20+
// same type.
1921
func (BinaryCalculation) Validate(info *gen.InstructionInfo) core.ResultList {
2022
results := core.ResultList{}
2123

0 commit comments

Comments
 (0)