[PATCH] D17461: docs/AMDGPUUsage: Update assembly example
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 10:40:32 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL261550: docs/AMDGPUUsage: Update assembly example (authored by tstellar).
Changed prior to commit:
http://reviews.llvm.org/D17461?vs=48541&id=48708#toc
Repository:
rL LLVM
http://reviews.llvm.org/D17461
Files:
llvm/trunk/docs/AMDGPUUsage.rst
Index: llvm/trunk/docs/AMDGPUUsage.rst
===================================================================
--- llvm/trunk/docs/AMDGPUUsage.rst
+++ llvm/trunk/docs/AMDGPUUsage.rst
@@ -153,7 +153,10 @@
.hsa_code_object_version 1,0
.hsa_code_object_isa
- .text
+ .hsatext
+ .globl hello_world
+ .p2align 8
+ .amdgpu_hsa_kernel hello_world
hello_world:
@@ -173,5 +176,7 @@
s_waitcnt lgkmcnt(0)
v_mov_b32 v1, s0
v_mov_b32 v2, s1
- flat_store_dword v0, v[1:2]
+ flat_store_dword v[1:2], v0
s_endpgm
+.Lfunc_end0:
+ .size hello_world, .Lfunc_end0-hello_world
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17461.48708.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160222/aa1287d1/attachment.bin>
More information about the llvm-commits
mailing list