diff options
Diffstat (limited to 'test/codegen/README')
| -rw-r--r-- | test/codegen/README | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/codegen/README b/test/codegen/README index 19a73d031c..33b9fbc49c 100644 --- a/test/codegen/README +++ b/test/codegen/README @@ -98,6 +98,13 @@ For example: verifies that NO memmove call is present in the assembly generated for the copy() line. +The expected number of matches for the regexp can be specified using a +positive number: + + func fb(a [4]int) (r [4]int) { + // amd64:2`MOVUPS[^,]+, X0$`,2`MOVUPS\sX0,[^\n]+$` + return a + } - Architecture specifiers |
