Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for CCMask (0.11 sec)

  1. src/cmd/internal/obj/s390x/condition_code.go

    // different results such as a carry or overflow.
    type CCMask uint8
    
    const (
    	Never CCMask = 0 // no-op
    
    	// 1-bit masks
    	Equal     CCMask = 1 << 3
    	Less      CCMask = 1 << 2
    	Greater   CCMask = 1 << 1
    	Unordered CCMask = 1 << 0
    
    	// 2-bit masks
    	EqualOrUnordered   CCMask = Equal | Unordered   // not less and not greater
    	LessOrEqual        CCMask = Less | Equal        // ordered and not greater
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/s390x/ssa.go

    		v.Fatalf("SumBytes generated %s", v.LongString())
    	case ssa.OpS390XLOCGR:
    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_CONST
    		p.From.Offset = int64(v.Aux.(s390x.CCMask))
    		p.Reg = v.Args[1].Reg()
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    	case ssa.OpS390XFSQRTS, ssa.OpS390XFSQRT:
    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = v.Args[0].Reg()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/check.go

    				if opcodeTable[Op(v.AuxInt)].name == "OpInvalid" {
    					f.Fatalf("value %v has an AuxInt value that is a valid opcode", v)
    				}
    				canHaveAuxInt = true
    			case auxS390XCCMask:
    				if _, ok := v.Aux.(s390x.CCMask); !ok {
    					f.Fatalf("bad type %T for S390XCCMask in %v", v.Aux, v)
    				}
    				canHaveAux = true
    			case auxS390XRotateParams:
    				if _, ok := v.Aux.(s390x.RotateParams); !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    	s, _ := i.(Sym)
    	return s
    }
    func auxToType(i Aux) *types.Type {
    	return i.(*types.Type)
    }
    func auxToCall(i Aux) *AuxCall {
    	return i.(*AuxCall)
    }
    func auxToS390xCCMask(i Aux) s390x.CCMask {
    	return i.(s390x.CCMask)
    }
    func auxToS390xRotateParams(i Aux) s390x.RotateParams {
    	return i.(s390x.RotateParams)
    }
    
    func StringToAux(s string) Aux {
    	return stringAux(s)
    }
    func symToAux(s Sym) Aux {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "FSQRTS", argLength: 1, reg: fp11, asm: "FSQRTS"}, // sqrt(arg0), float32
    
    		// Conditional register-register moves.
    		// The aux for these values is an s390x.CCMask value representing the condition code mask.
    		{name: "LOCGR", argLength: 3, reg: gp2flags1, resultInArg0: true, asm: "LOCGR", aux: "S390XCCMask"}, // load arg1 into arg0 if the condition code in arg2 matches a masked bit in aux.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	case "CallOff":
    		return "Call"
    	case "SymValAndOff":
    		return "Sym"
    	case "Typ":
    		return "*types.Type"
    	case "TypSize":
    		return "*types.Type"
    	case "S390XCCMask":
    		return "s390x.CCMask"
    	case "S390XRotateParams":
    		return "s390x.RotateParams"
    	default:
    		return "invalid"
    	}
    }
    
    // auxIntType returns the Go type that this operation should store in its auxInt field.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/s390x/asmz.go

    	rel.Add = add + offset + int64(rel.Siz)
    	rel.Type = objabi.R_CALL
    	return rel
    }
    
    func (c *ctxtz) branchMask(p *obj.Prog) CCMask {
    	switch p.As {
    	case ABRC, ALOCR, ALOCGR,
    		ACRJ, ACGRJ, ACIJ, ACGIJ,
    		ACLRJ, ACLGRJ, ACLIJ, ACLGIJ:
    		return CCMask(p.From.Offset)
    	case ABEQ, ACMPBEQ, ACMPUBEQ, AMOVDEQ:
    		return Equal
    	case ABGE, ACMPBGE, ACMPUBGE, AMOVDGE:
    		return GreaterOrEqual
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
Back to top