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