aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/mulh.h
blob: c4fead2db2537d453494ca2b4dc73f24c988c6d8 (plain)
1
2
3
4
require64;
int64_t rb = RS1;
int64_t ra = RS2;
RDR = (int128_t(rb) * int128_t(ra)) >> 64;