- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for rhs_args (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
assert(!hoist_params->lhs_args[kv.second]); assert(!hoist_params->rhs_args[kv.second]); if (hoist_params->scalar_operand_idx == 1) { hoist_params->lhs_args[kv.second] = kv.first; hoist_params->rhs_args[kv.second] = identity_const; } else { assert(hoist_params->scalar_operand_idx == 0); hoist_params->lhs_args[kv.second] = identity_const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
// return the first source operand in p.RestArgs. // In combination with Prog.From and Prog.To it makes common 3 operand // case easier to use. func (p *Prog) GetFrom3() *Addr { for i := range p.RestArgs { if p.RestArgs[i].Pos == Source { return &p.RestArgs[i].Addr } } return nil } // AddRestSource assigns []Args{{a, Source}} to p.RestArgs. func (p *Prog) AddRestSource(a Addr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/cmd/internal/obj/util.go
// Should not happen but might as well show it if it does. fmt.Fprintf(w, "%s%v", sep, Rconv(int(p.Reg))) sep = ", " } for i := range p.RestArgs { if p.RestArgs[i].Pos == Source { io.WriteString(w, sep) WriteDconv(w, p, &p.RestArgs[i].Addr) sep = ", " } } if p.As == ATEXT { // If there are attributes, print them. Otherwise, skip the comma.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
// "ADDEX R3, R4, $3, R5" case AVSHASIGMAW, AVSHASIGMAD, AADDEX, AXXSLDWI, AXXPERMDI: if len(p.RestArgs) == 2 && p.Reg == 0 && p.RestArgs[0].Addr.Type == obj.TYPE_CONST && p.RestArgs[1].Addr.Type == obj.TYPE_REG { p.Reg = p.RestArgs[1].Addr.Reg p.RestArgs = p.RestArgs[:1] } } if c.ctxt.Headtype == objabi.Haix { c.rewriteToUseTOC(p) } else if c.ctxt.Flag_dynlink {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/cmd/internal/obj/x86/obj6.go
p1.From.Sym = ctxt.Lookup("_GLOBAL_OFFSET_TABLE_") p1.To.Type = obj.TYPE_REG p1.To.Reg = REG_BX p2.As = p.As p2.Scond = p.Scond p2.From = p.From if p.RestArgs != nil { p2.RestArgs = append(p2.RestArgs, p.RestArgs...) } p2.Reg = p.Reg p2.To = p.To // p.To.Type was set to TYPE_BRANCH above, but that makes checkaddr // in ../pass.go complain, so set it back to TYPE_MEM here, until p2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:36:45 UTC 2023 - 40.9K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/asmz.go
return &optab[p.Optab-1] } if len(p.RestArgs) > 3 { c.ctxt.Diag("too many RestArgs: got %v, maximum is 3\n", len(p.RestArgs)) return nil } // Initialize classes for all arguments. p.From.Class = int8(c.aclass(&p.From) + 1) p.To.Class = int8(c.aclass(&p.To) + 1) for i := range p.RestArgs { p.RestArgs[i].Addr.Class = int8(c.aclass(&p.RestArgs[i].Addr) + 1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 176.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
return } // For ARM64 CASP-like instructions, its 2nd destination operand is register pair(Rt, Rt+1) that can // not fit into prog.RegTo2, so save it to the prog.RestArgs. prog.AddRestDest(a[2]) default: prog.From = a[0] prog.Reg = p.getRegister(prog, op, &a[1]) prog.To = a[2] } case sys.I386: prog.From = a[0] prog.AddRestSource(a[1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
type Optab struct { as obj.As // Opcode a1 uint8 // p.From argument (obj.Addr). p is of type obj.Prog. a2 uint8 // p.Reg argument (int16 Register) a3 uint8 // p.RestArgs[0] (obj.AddrPos) a4 uint8 // p.RestArgs[1] a5 uint8 // p.RestARgs[2] a6 uint8 // p.To (obj.Addr) type_ int8 // cases in asmout below. E.g., 44 = st r,(ra+rb); 45 = ld (ra+rb), r size int8 // Text space in bytes to lay operation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/asm.go
} // 2nd destination operand a5 := C_NONE if p.RegTo2 != 0 { a5 = C_REG } // 3rd source operand a3 := C_NONE if len(p.RestArgs) > 0 { a3 = int(p.RestArgs[0].Class) if a3 == 0 { a3 = c.aclass(&p.RestArgs[0].Addr) + 1 p.RestArgs[0].Class = int8(a3) } a3-- } ops := oprange[p.As&obj.AMask] c1 := &xcmp[a1] c4 := &xcmp[a4] for i := range ops {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 61.8K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
ins := &instruction{ as: p.As, rd: uint32(p.To.Reg), rs1: uint32(p.Reg), rs2: uint32(p.From.Reg), imm: p.From.Offset, } if len(p.RestArgs) == 1 { ins.rs3 = uint32(p.RestArgs[0].Reg) } return ins } // instructionsForOpImmediate returns the machine instructions for an immediate // operand. The instruction is specified by as and the source register is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0)