Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for panicshift (0.13 sec)

  1. test/codegen/shift.go

    // --------------- //
    
    // We do want to generate a test + panicshift for these cases.
    func lshSigned(v8 int8, v16 int16, v32 int32, v64 int64, x int) {
    	// amd64:"TESTB"
    	_ = x << v8
    	// amd64:"TESTW"
    	_ = x << v16
    	// amd64:"TESTL"
    	_ = x << v32
    	// amd64:"TESTQ"
    	_ = x << v64
    }
    
    // We want to avoid generating a test + panicshift for these cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    package runtime
    
    // emitted by compiler, not referred to by go programs
    
    import "unsafe"
    
    func newobject(typ *byte) *any
    func mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer
    func panicdivide()
    func panicshift()
    func panicmakeslicelen()
    func panicmakeslicecap()
    func throwinit()
    func panicwrap()
    
    func gopanic(interface{})
    func gorecover(*int32) interface{}
    func goschedguarded()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/builtin.go

    	}
    	return flist
    }
    
    var runtimeDecls = [...]struct {
    	name string
    	tag  int
    	typ  int
    }{
    	{"newobject", funcTag, 4},
    	{"mallocgc", funcTag, 8},
    	{"panicdivide", funcTag, 9},
    	{"panicshift", funcTag, 9},
    	{"panicmakeslicelen", funcTag, 9},
    	{"panicmakeslicecap", funcTag, 9},
    	{"throwinit", funcTag, 9},
    	{"panicwrap", funcTag, 9},
    	{"gopanic", funcTag, 11},
    	{"gorecover", funcTag, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/obj6.go

    			p.As = obj.AJMP
    		}
    	}
    }
    
    func isZeroArgRuntimeCall(s *obj.LSym) bool {
    	if s == nil {
    		return false
    	}
    	switch s.Name {
    	case "runtime.panicdivide", "runtime.panicwrap", "runtime.panicshift":
    		return true
    	}
    	if strings.HasPrefix(s.Name, "runtime.panicIndex") || strings.HasPrefix(s.Name, "runtime.panicSlice") {
    		// These functions do take arguments (in registers),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  5. src/runtime/panic.go

    func panicSlice3C(x int, y int)
    func panicSlice3CU(x uint, y int)
    func panicSliceConvert(x int, y int)
    
    var shiftError = error(errorString("negative shift amount"))
    
    //go:yeswritebarrierrec
    func panicshift() {
    	panicCheck1(getcallerpc(), "negative shift amount")
    	panic(shiftError)
    }
    
    var divideError = error(errorString("integer divide by zero"))
    
    //go:yeswritebarrierrec
    func panicdivide() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top