- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for AddPtr (0.17 sec)
-
src/cmd/compile/internal/ssa/branchelim.go
case "arm64", "ppc64le", "ppc64", "amd64", "wasm", "loong64": // implemented default: return } // Find all the values used in computing the address of any load. // Typically these values have operations like AddPtr, Lsh64x64, etc. loadAddr := f.newSparseSet(f.NumValues()) defer f.retSparseSet(loadAddr) for _, b := range f.Blocks { for _, v := range b.Values { switch v.Op {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 30 17:46:51 UTC 2022 - 12.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
(Add64 (Const64 [c]) (Const64 [d])) => (Const64 [c+d]) (Add32F (Const32F [c]) (Const32F [d])) && c+d == c+d => (Const32F [c+d]) (Add64F (Const64F [c]) (Const64F [d])) && c+d == c+d => (Const64F [c+d]) (AddPtr <t> x (Const64 [c])) => (OffPtr <t> x [c]) (AddPtr <t> x (Const32 [c])) => (OffPtr <t> x [int64(c)]) (Sub8 (Const8 [c]) (Const8 [d])) => (Const8 [c-d]) (Sub16 (Const16 [c]) (Const16 [d])) => (Const16 [c-d])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
{name: "Add8", argLength: 2, commutative: true}, // arg0 + arg1 {name: "Add16", argLength: 2, commutative: true}, {name: "Add32", argLength: 2, commutative: true}, {name: "Add64", argLength: 2, commutative: true}, {name: "AddPtr", argLength: 2}, // For address calculations. arg0 is a pointer and arg1 is an int. {name: "Add32F", argLength: 2, commutative: true}, {name: "Add64F", argLength: 2, commutative: true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0) -
test/fixedbugs/issue19359.go
defer func() { if r := recover(); r != nil { err = fmt.Errorf("addInt failed: %v", r) } }() m[key] += 2018 return nil } func addStr(m map[interface{}]string, key interface{}) (err error) { defer func() { if r := recover(); r != nil { err = fmt.Errorf("addStr failed: %v", r) } }() m[key] += "hello, go" return nil } func appendInt(m map[interface{}][]int, key interface{}) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 20 01:47:07 UTC 2018 - 1.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64.rules
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Lowering arithmetic (Add(64|32|16|8) ...) => (ADD(Q|L|L|L) ...) (AddPtr ...) => (ADDQ ...) (Add(32|64)F ...) => (ADDS(S|D) ...) (Sub(64|32|16|8) ...) => (SUB(Q|L|L|L) ...) (SubPtr ...) => (SUBQ ...) (Sub(32|64)F ...) => (SUBS(S|D) ...) (Mul(64|32|16|8) ...) => (MUL(Q|L|L|L) ...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
v_1 := v.Args[1] v_0 := v.Args[0] // match: (AddPtr <t> x (Const64 [c])) // result: (OffPtr <t> x [c]) for { t := v.Type x := v_0 if v_1.Op != OpConst64 { break } c := auxIntToInt64(v_1.AuxInt) v.reset(OpOffPtr) v.Type = t v.AuxInt = int64ToAuxInt(c) v.AddArg(x) return true } // match: (AddPtr <t> x (Const32 [c])) // result: (OffPtr <t> x [int64(c)])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/opGen.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 1M bytes - Viewed (0)