Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FromP3 (0.98 sec)

  1. src/crypto/internal/edwards25519/scalarmult_test.go

    	table := make([]affineLookupTable, 32)
    	for i := 0; i < 32; i++ {
    		// Build the table
    		table[i].FromP3(tmp3)
    		// Assert equality with the hardcoded one
    		if table[i] != basepointTable[i] {
    			t.Errorf("Basepoint table %d does not match", i)
    		}
    
    		// Set p = (16^2)*p = 256*p = 2^8*p
    		tmp2.FromP3(tmp3)
    		for j := 0; j < 7; j++ {
    			tmp1.Double(tmp2)
    			tmp2.FromP1xP1(tmp1)
    		}
    		tmp1.Double(tmp2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    	Destination
    )
    
    // From3Type returns p.GetFrom3().Type, or TYPE_NONE when
    // p.GetFrom3() returns nil.
    func (p *Prog) From3Type() AddrType {
    	from3 := p.GetFrom3()
    	if from3 == nil {
    		return TYPE_NONE
    	}
    	return from3.Type
    }
    
    // GetFrom3 returns second source operand (the first is Prog.From).
    // The same kinds of operands are saved in order so GetFrom3 actually
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/obj6.go

    	p1.From.Sym = source.Sym
    	p1.From.Name = obj.NAME_GOTREF
    	p1.To.Type = obj.TYPE_REG
    	p1.To.Reg = reg
    
    	p2.As = p.As
    	p2.From = p.From
    	p2.To = p.To
    	if from3 := p.GetFrom3(); from3 != nil {
    		p2.AddRestSource(*from3)
    	}
    	if p.From.Name == obj.NAME_EXTERN {
    		p2.From.Reg = reg
    		p2.From.Name = obj.NAME_NONE
    		p2.From.Sym = nil
    	} else if p.To.Name == obj.NAME_EXTERN {
    		p2.To.Reg = reg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    			case Zevex_i_rm_v_r:
    				imm, from, from3, to := unpackOps4(p)
    				ab.evex = newEVEXBits(z, &o.op)
    				ab.asmevex(ctxt, p, from, from3, to, nil)
    				ab.asmand(ctxt, cursym, p, from, to)
    				ab.Put1(byte(imm.Offset))
    
    			case Zevex_i_rm_v_k_r:
    				imm, from, from3, kmask, to := unpackOps5(p)
    				ab.evex = newEVEXBits(z, &o.op)
    				ab.asmevex(ctxt, p, from, from3, to, kmask)
    				ab.asmand(ctxt, cursym, p, from, to)
    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/loong64/asm.go

    	instoffset int64
    	pc         int64
    }
    
    // Instruction layout.
    
    const (
    	FuncAlign = 4
    	loopAlign = 16
    )
    
    type Optab struct {
    	as    obj.As
    	from1 uint8
    	reg   uint8
    	from3 uint8
    	to1   uint8
    	to2   uint8
    	type_ int8
    	size  int8
    	param int16
    	flag  uint8
    }
    
    const (
    	NOTUSETMP = 1 << iota // p expands to multiple instructions, but does NOT use REGTMP
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm/asm5.go

    	{ADIVHW, C_REG, C_NONE, C_REG, 105, 4, 0, 0, 0, 0},
    	{AMULL, C_REG, C_REG, C_REGREG, 17, 4, 0, 0, 0, C_SBIT},
    	{ABFX, C_LCON, C_REG, C_REG, 18, 4, 0, 0, 0, 0},  // width in From, LSB in From3
    	{ABFX, C_LCON, C_NONE, C_REG, 18, 4, 0, 0, 0, 0}, // width in From, LSB in From3
    	{AMOVW, C_REG, C_NONE, C_SAUTO, 20, 4, REGSP, 0, 0, C_PBIT | C_WBIT | C_UBIT},
    	{AMOVW, C_REG, C_NONE, C_SOREG, 20, 4, 0, 0, 0, C_PBIT | C_WBIT | C_UBIT},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm9.go

    		bc := c.vregoff(&p.From)
    		if o.a1 == C_CRBIT {
    			// CR bit is encoded as a register, not a constant.
    			bc = int64(p.From.Reg)
    		}
    
    		// rt = To.Reg, ra = p.Reg, rb = p.From3.Reg
    		o1 = AOP_ISEL(OP_ISEL, uint32(p.To.Reg), uint32(p.Reg), uint32(p.GetFrom3().Reg), uint32(bc))
    
    	case 85: /* vector instructions, VX-form */
    		/* reg none reg */
    		/* 2-register operand order: VRB, VRT */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm64/asm7.go

    	BRANCH14BITS             // branch instruction encodes 14 bits
    	BRANCH19BITS             // branch instruction encodes 19 bits
    )
    
    var optab = []Optab{
    	/* struct Optab:
    	OPCODE, from, prog->reg, from3, to, to2, type,size,param,flag,scond */
    	{obj.ATEXT, C_ADDR, C_NONE, C_NONE, C_TEXTSIZE, C_NONE, 0, 0, 0, 0, 0},
    
    	/* arithmetic operations */
    	{AADD, C_ZREG, C_ZREG, C_NONE, C_ZREG, C_NONE, 1, 4, 0, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top