- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EncodeSImmediate (0.13 sec)
-
src/cmd/link/internal/riscv64/asm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 01 08:06:08 UTC 2024 - 22.8K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
if err := immIFits(imm, 21); err != nil { return 0, err } if err := immEven(imm); err != nil { return 0, err } return int64(encodeJImmediate(uint32(imm))), nil } func EncodeSImmediate(imm int64) (int64, error) { if err := immIFits(imm, 12); err != nil { return 0, err } return ((imm >> 5) << 25) | ((imm & 0x1f) << 7), nil } func EncodeUImmediate(imm int64) (int64, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0)