...
Run Format

Text file src/cmd/compile/internal/ssa/_gen/LOONG64latelower.rules

Documentation: cmd/compile/internal/ssa/_gen

     1// Copyright 2025 The Go Authors. All rights reserved.
     2// Use of this source code is governed by a BSD-style
     3// license that can be found in the LICENSE file.
     4
     5// Prefer addition when shifting left by one.
     6(SLLVconst [1] x) => (ADDV x x)
     7
     8(EQZ (XOR x y) yes no) => (BEQ x y yes no)
     9(NEZ (XOR x y) yes no) => (BNE x y yes no)
    10
    11// use zero register
    12(MOVVconst [0]) => (ZERO)

View as plain text