From cd1f905ca37ce3c9af6cf75da567a59b8c6d9d08 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 29 May 2011 15:20:58 -0400 Subject: [PATCH] Fix assembly (don't think this bug ever bit, but it could) --- cuburn/code/mwc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuburn/code/mwc.py b/cuburn/code/mwc.py index 507a49a..5df718f 100644 --- a/cuburn/code/mwc.py +++ b/cuburn/code/mwc.py @@ -21,7 +21,7 @@ __device__ uint32_t mwc_next(mwc_st *st) { "cvt.u64.u32 val, %0;\n\t" "mad.wide.u32 val, %1, %2, val;\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; }