[libc-commits] [libc] [libc] Add Generic and NVPTX Sin Benchmark (PR #99795)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 29 19:52:25 PDT 2024


================
@@ -98,7 +99,9 @@ template <typename F, typename T1, typename T2>
 
   auto result = f(arg1, arg2);
 
-  asm("v_or_b32 %[v_reg], 0, %[v_reg]\n" ::[v_reg] "v"(result) :);
+  asm("v_or_b32 %[v_reg], 0, %[v_reg]\n" ::[v_reg] "v"(
+          static_cast<uint32_t>(result))
+      :);
----------------
jameshu15869 wrote:

Oops, I swear I removed this already

https://github.com/llvm/llvm-project/pull/99795


More information about the libc-commits mailing list