- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsRISCV64AMO (0.07 sec)
-
src/cmd/asm/internal/arch/riscv64.go
// assembler. package arch import ( "cmd/internal/obj" "cmd/internal/obj/riscv" ) // IsRISCV64AMO reports whether the op (as defined by a riscv.A* // constant) is one of the AMO instructions that requires special // handling. func IsRISCV64AMO(op obj.As) bool { switch op { case riscv.ASCW, riscv.ASCD, riscv.AAMOSWAPW, riscv.AAMOSWAPD, riscv.AAMOADDW, riscv.AAMOADDD,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Mar 15 08:13:28 UTC 2020 - 943 bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
case obj.TYPE_REG: prog.Reg = p.getRegister(prog, op, &a[1]) default: prog.AddRestSource(a[1]) } case sys.RISCV64: // RISCV64 instructions with one input and two outputs. if arch.IsRISCV64AMO(op) { prog.From = a[0] prog.To = a[1] if a[2].Type != obj.TYPE_REG { p.errorf("invalid addressing modes for third operand to %s instruction, must be register", op) return }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0)