Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsMIPSCMP (0.16 sec)

  1. src/cmd/asm/internal/arch/mips.go

    	case "BEQ", "BFPF", "BFPT", "BGEZ", "BGEZAL", "BGTZ", "BLEZ", "BLTZ", "BLTZAL", "BNE", "JMP", "JAL", "CALL":
    		return true
    	}
    	return false
    }
    
    // IsMIPSCMP reports whether the op (as defined by an mips.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsMIPSCMP(op obj.As) bool {
    	switch op {
    	case mips.ACMPEQF, mips.ACMPEQD, mips.ACMPGEF, mips.ACMPGED,
    		mips.ACMPGTF, mips.ACMPGTD:
    		return true
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 04 19:06:44 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		} else if p.arch.Family == sys.ARM64 && arch.IsARM64CMP(op) {
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			break
    		} else if p.arch.Family == sys.MIPS || p.arch.Family == sys.MIPS64 {
    			if arch.IsMIPSCMP(op) || arch.IsMIPSMUL(op) {
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				break
    			}
    		} else if p.arch.Family == sys.Loong64 {
    			if arch.IsLoong64CMP(op) {
    				prog.From = a[0]
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top