Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MoveSmall (0.15 sec)

  1. test/codegen/README

      // amd64:"ADDQ\t\\$3"
      // amd64:`ADDQ\t\$3`
    
    and they'll match this assembly line:
    
      ADDQ	$3
    
    Negative matches can be specified using a - before the quoted regexp.
    For example:
    
      func MoveSmall() {
      	   x := [...]byte{1, 2, 3, 4, 5, 6, 7}
      	   copy(x[1:], x[:]) // arm64:-".*memmove"
      }
    
    verifies that NO memmove call is present in the assembly generated for
    the copy() line.
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top