mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Fix assembly (don't think this bug ever bit, but it could)
This commit is contained in:
parent
daf56ffc53
commit
cd1f905ca3
@ -21,7 +21,7 @@ __device__ uint32_t mwc_next(mwc_st *st) {
|
|||||||
"cvt.u64.u32 val, %0;\n\t"
|
"cvt.u64.u32 val, %0;\n\t"
|
||||||
"mad.wide.u32 val, %1, %2, val;\n\t"
|
"mad.wide.u32 val, %1, %2, val;\n\t"
|
||||||
"mov.b64 {%1, %0}, val;\n\t}\n\t"
|
"mov.b64 {%1, %0}, val;\n\t}\n\t"
|
||||||
: "=r"(st->carry), "=r"(st->state) : "r"(st->mul));
|
: "+r"(st->carry), "+r"(st->state) : "r"(st->mul));
|
||||||
return st->state;
|
return st->state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user