Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for DRconv (0.15 sec)

  1. src/cmd/internal/obj/loong64/list.go

    // license that can be found in the LICENSE file.
    
    package loong64
    
    import (
    	"cmd/internal/obj"
    	"fmt"
    )
    
    func init() {
    	obj.RegisterRegister(obj.RBaseLOONG64, REG_LAST+1, rconv)
    	obj.RegisterOpcode(obj.ABaseLoong64, Anames)
    }
    
    func rconv(r int) string {
    	if r == 0 {
    		return "NONE"
    	}
    	if r == REGG {
    		// Special case.
    		return "g"
    	}
    	if REG_R0 <= r && r <= REG_R31 {
    		return fmt.Sprintf("R%d", r-REG_R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 20:11:34 UTC 2022
    - 931 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/mips/list0.go

    // THE SOFTWARE.
    
    package mips
    
    import (
    	"cmd/internal/obj"
    	"fmt"
    )
    
    func init() {
    	obj.RegisterRegister(obj.RBaseMIPS, REG_LAST+1, rconv)
    	obj.RegisterOpcode(obj.ABaseMIPS, Anames)
    }
    
    func rconv(r int) string {
    	if r == 0 {
    		return "NONE"
    	}
    	if r == REGG {
    		// Special case.
    		return "g"
    	}
    	if REG_R0 <= r && r <= REG_R31 {
    		return fmt.Sprintf("R%d", r-REG_R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 04 19:06:44 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/s390x/listz.go

    // THE SOFTWARE.
    
    package s390x
    
    import (
    	"cmd/internal/obj"
    	"fmt"
    )
    
    func init() {
    	obj.RegisterRegister(obj.RBaseS390X, REG_R0+1024, rconv)
    	obj.RegisterOpcode(obj.ABaseS390X, Anames)
    }
    
    func rconv(r int) string {
    	if r == 0 {
    		return "NONE"
    	}
    	if r == REGG {
    		// Special case.
    		return "g"
    	}
    	if REG_R0 <= r && r <= REG_R15 {
    		return fmt.Sprintf("R%d", r-REG_R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 01 10:41:37 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm/list5.go

    package arm
    
    import (
    	"cmd/internal/obj"
    	"fmt"
    )
    
    func init() {
    	obj.RegisterRegister(obj.RBaseARM, MAXREG, rconv)
    	obj.RegisterOpcode(obj.ABaseARM, Anames)
    	obj.RegisterRegisterList(obj.RegListARMLo, obj.RegListARMHi, rlconv)
    	obj.RegisterOpSuffix("arm", obj.CConvARM)
    }
    
    func rconv(r int) string {
    	if r == 0 {
    		return "NONE"
    	}
    	if r == REGG {
    		// Special case.
    		return "g"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/list9.go

    import (
    	"cmd/internal/obj"
    	"fmt"
    )
    
    func init() {
    	obj.RegisterRegister(obj.RBasePPC64, REG_SPR0+1024, rconv)
    	// Note, the last entry in Anames is "LASTAOUT", it is not a real opcode.
    	obj.RegisterOpcode(obj.ABasePPC64, Anames[:len(Anames)-1])
    	obj.RegisterOpcode(AFIRSTGEN, GenAnames)
    }
    
    func rconv(r int) string {
    	if r == 0 {
    		return "NONE"
    	}
    	if r == REGG {
    		// Special case.
    		return "g"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:12:43 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/list7.go

    	}
    	return fmt.Sprintf("badreg(%d)", r)
    }
    
    func DRconv(a int) string {
    	if a >= C_NONE && a <= C_NCLASS {
    		return cnames7[a]
    	}
    	return "C_??"
    }
    
    func SPCconv(a int64) string {
    	spc := SpecialOperand(a)
    	if spc >= SPOP_BEGIN && spc < SPOP_END {
    		return fmt.Sprintf("%s", spc)
    	}
    	return "SPC_??"
    }
    
    func rlconv(list int64) string {
    	str := ""
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm_test.go

    		}
    		for i := range ctxts {
    			if output := ctxts[i].aclass(&tst.arg); output != expect[i] {
    				t.Errorf("%s.aclass(%v) = %v, expected %v\n", name[i], tst.arg, DRconv(output), DRconv(expect[i]))
    			}
    		}
    	}
    }
    
    // The optab size should remain constant when reinitializing the PPC64 assembler backend.
    func TestOptabReinit(t *testing.T) {
    	buildcfg.GOOS = "linux"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/asm.go

    			p.Optab = uint16(cap(optab) - cap(ops) + i + 1)
    			return op
    		}
    	}
    
    	c.ctxt.Diag("illegal combination %v %v %v %v %v %v", p.As, DRconv(a1), DRconv(a2), DRconv(a3), DRconv(a4), DRconv(a5))
    	prasm(p)
    	// Turn illegal instruction into an UNDEF, avoid crashing in asmout.
    	return &Optab{obj.AUNDEF, C_NONE, C_NONE, C_NONE, C_NONE, C_NONE, 49, 4, 0, 0}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm/asm5.go

    		a1 = C_LCON
    	}
    	if (a3 == C_RCON2A || a3 == C_RCON2S) && p.Scond&C_SBIT != 0 {
    		a3 = C_LCON
    	}
    
    	if false { /*debug['O']*/
    		fmt.Printf("oplook %v %v %v %v\n", p.As, DRconv(a1), DRconv(a2), DRconv(a3))
    		fmt.Printf("\t\t%d %d\n", p.From.Type, p.To.Type)
    	}
    
    	if (p.As == ASRL || p.As == ASRA) && p.From.Type == obj.TYPE_CONST && p.From.Offset == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/mips/asm0.go

    			p.Optab = uint16(cap(optab) - cap(ops) + i + 1)
    			return op
    		}
    	}
    
    	c.ctxt.Diag("illegal combination %v %v %v %v", p.As, DRconv(a1), DRconv(a2), DRconv(a3))
    	prasm(p)
    	// Turn illegal instruction into an UNDEF, avoid crashing in asmout.
    	return &Optab{obj.AUNDEF, C_NONE, C_NONE, C_NONE, 49, 4, 0, 0, 0}
    }
    
    func cmp(a int, b int) bool {
    	if a == b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
Back to top