Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for retpolineBP (0.1 sec)

  1. src/runtime/stubs_amd64.go

    // Called from assembly only; declared for go vet.
    func settls() // argument in DI
    
    // Retpolines, used by -spectre=ret flag in cmd/asm, cmd/compile.
    func retpolineAX()
    func retpolineCX()
    func retpolineDX()
    func retpolineBX()
    func retpolineBP()
    func retpolineSI()
    func retpolineDI()
    func retpolineR8()
    func retpolineR9()
    func retpolineR10()
    func retpolineR11()
    func retpolineR12()
    func retpolineR13()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. test/codegen/retpoline.go

    // asmcheck -gcflags=-spectre=ret
    
    //go:build amd64
    
    package codegen
    
    func CallFunc(f func()) {
    	// amd64:`CALL\truntime.retpoline`
    	f()
    }
    
    func CallInterface(x interface{ M() }) {
    	// amd64:`CALL\truntime.retpoline`
    	x.M()
    }
    
    // Check to make sure that jump tables are disabled
    // when retpoline is on. See issue 57097.
    func noJumpTables(x int) int {
    	switch x {
    	case 0:
    		return 0
    	case 1:
    		return 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 580 bytes
    - Viewed (0)
  3. src/cmd/asm/main.go

    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    		// known to compiler; ignore here so people can use
    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	defer ctxt.Bso.Flush()
    
    	architecture.Init(ctxt)
    
    	// Create object file, write header.
    	buf, err := bio.Create(*flags.OutputFile)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top