Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for nops (0.04 sec)

  1. test/codegen/issue31618.go

    package codegen
    
    // Make sure we remove both inline marks in the following code.
    // Both +5 and +6 should map to real instructions, which can
    // be used as inline marks instead of explicit nops.
    func f(x int) int {
    	// amd64:-"XCHGL"
    	x = g(x) + 5
    	// amd64:-"XCHGL"
    	x = g(x) + 6
    	return x
    }
    
    func g(x int) int {
    	return x >> 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 17:39:11 UTC 2019
    - 504 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/doc.go

    that the next instruction should be aligned to the specified value. Currently
    8 and 16 are the only supported values, and a maximum of 2 NOPs will be added
    to align the code. That means in the case where the code is aligned to 4 but
    PCALIGN $16 is at that location, the code will only be aligned to 8 to avoid
    adding 3 NOPs.
    
    The purpose of this directive is to improve performance for cases like loops
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/proto.go

    		if l, ok := b.locs[addr]; ok {
    			// When generating code for an inlined function, the compiler adds
    			// NOP instructions to the outermost function as a placeholder for
    			// each layer of inlining. When the runtime generates tracebacks for
    			// stacks that include inlined functions, it uses the addresses of
    			// those NOPs as "fake" PCs on the stack as if they were regular
    			// function call sites. But if a profiling signal arrives while the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    			if pPrev != nil && !ctxt.IsAsm && c > c0 {
    				nops = append(nops, nopPad{p: pPrev, n: c - c0})
    			}
    			c += int32(m)
    			pPrev = p
    		}
    
    		n++
    		if n > 1000 {
    			ctxt.Diag("span must be looping")
    			log.Fatalf("loop")
    		}
    		if !reAssemble {
    			break
    		}
    		if ctxt.Errors > errors {
    			return
    		}
    	}
    	// splice padding nops into Progs
    	for _, n := range nops {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/asm_test.go

    	}{
    		{[]byte(x0pgm), "align=0x0", false},     // No alignment or nop adjustments needed
    		{[]byte(x16pgm), "align=0x20", false},   // Increased alignment needed
    		{[]byte(x32pgm), "align=0x40", false},   // Worst case alignment needed
    		{[]byte(x64pgm), "align=0x0", true},     // 0 aligned is default (16B) alignment
    		{[]byte(x64pgmA64), "align=0x40", true}, // extra alignment + nop
    		{[]byte(x64pgmA32), "align=0x20", true}, // extra alignment + nop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/obj9.go

    				//	ADD $(autosize+8), R1, R24
    				//	CMP R23, R24
    				//	BNE end
    				//	ADD $8, R1, R25
    				//	MOVD R25, panic_argp(R22)
    				// end:
    				//	NOP
    				//
    				// The NOP is needed to give the jumps somewhere to land.
    				// It is a liblink NOP, not a ppc64 NOP: it encodes to 0 instruction bytes.
    
    				q = obj.Appendp(q, c.newprog)
    
    				q.As = AMOVD
    				q.From.Type = obj.TYPE_MEM
    				q.From.Reg = REGG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/s390x/objz.go

    				//	ADD $(autosize+8), R1, R5
    				//	CMP R4, R5
    				//	BNE end
    				//	ADD $8, R1, R6
    				//	MOVD R6, panic_argp(R3)
    				// end:
    				//	NOP
    				//
    				// The NOP is needed to give the jumps somewhere to land.
    				// It is a liblink NOP, not a s390x NOP: it encodes to 0 instruction bytes.
    
    				q = obj.Appendp(q, c.newprog)
    
    				q.As = AMOVD
    				q.From.Type = obj.TYPE_MEM
    				q.From.Reg = REGG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. releasenotes/notes/verify-install-multi-iops.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    issue:
      - 42964
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 04 05:16:23 UTC 2023
    - 169 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/build_defs.bzl

            name = name + "_ops_cc",
            srcs = [name + "_ops.cc"],
            deps = [
                "//tensorflow/core:framework",
                "//tensorflow/core:lib",
                "//tensorflow/core:protos_all_cc",
            ],
            alwayslink = 1,
        )
    
        tf_custom_op_library(
            name = name + "_ops.so",
            srcs = [name + "_ops.cc"],
        )
    
        tf_gen_op_wrapper_py(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/ops.h

    };
    
    /// A type for representing the output of ops that produce more than one output,
    /// or a list of tensors.
    typedef std::vector<Output> OutputList;
    
    /// A type for representing the input to ops that require a list of tensors.
    class InputList {
     public:
      /// Implicitly convert a list of outputs to a list of inputs. This is useful
      /// to write code such as ops::Concat(ops::Split(x, 4)).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top