/extra/cuda/demos/hello-world/hello.ptx

http://github.com/abeaumont/factor · Unknown · 71 lines · 65 code · 6 blank · 0 comment · 0 complexity · f63558a057abe638e261c5d187e01864 MD5 · raw file

  1. .version 1.4
  2. .target sm_10, map_f64_to_f32
  3. // compiled with /usr/local/cuda/bin/../open64/lib//be
  4. // nvopencc 3.0 built on 2010-03-11
  5. //-----------------------------------------------------------
  6. // Compiling /tmp/tmpxft_00000eab_00000000-7_hello.cpp3.i (/var/folders/KD/KDnx4D80Eh0fsORqNrFWBE+++TI/-Tmp-/ccBI#.AYqbdQ)
  7. //-----------------------------------------------------------
  8. //-----------------------------------------------------------
  9. // Options:
  10. //-----------------------------------------------------------
  11. // Target:ptx, ISA:sm_10, Endian:little, Pointer Size:32
  12. // -O3 (Optimization level)
  13. // -g0 (Debug level)
  14. // -m2 (Report advisories)
  15. //-----------------------------------------------------------
  16. .file 1 "<command-line>"
  17. .file 2 "/tmp/tmpxft_00000eab_00000000-6_hello.cudafe2.gpu"
  18. .file 3 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h"
  19. .file 4 "/usr/local/cuda/bin/../include/crt/device_runtime.h"
  20. .file 5 "/usr/local/cuda/bin/../include/host_defines.h"
  21. .file 6 "/usr/local/cuda/bin/../include/builtin_types.h"
  22. .file 7 "/usr/local/cuda/bin/../include/device_types.h"
  23. .file 8 "/usr/local/cuda/bin/../include/driver_types.h"
  24. .file 9 "/usr/local/cuda/bin/../include/texture_types.h"
  25. .file 10 "/usr/local/cuda/bin/../include/vector_types.h"
  26. .file 11 "/usr/local/cuda/bin/../include/device_launch_parameters.h"
  27. .file 12 "/usr/local/cuda/bin/../include/crt/storage_class.h"
  28. .file 13 "/usr/include/i386/_types.h"
  29. .file 14 "/usr/include/time.h"
  30. .file 15 "/usr/local/cuda/bin/../include/texture_fetch_functions.h"
  31. .file 16 "/usr/local/cuda/bin/../include/common_functions.h"
  32. .file 17 "/usr/local/cuda/bin/../include/crt/func_macro.h"
  33. .file 18 "/usr/local/cuda/bin/../include/math_functions.h"
  34. .file 19 "/usr/local/cuda/bin/../include/device_functions.h"
  35. .file 20 "/usr/local/cuda/bin/../include/math_constants.h"
  36. .file 21 "/usr/local/cuda/bin/../include/sm_11_atomic_functions.h"
  37. .file 22 "/usr/local/cuda/bin/../include/sm_12_atomic_functions.h"
  38. .file 23 "/usr/local/cuda/bin/../include/sm_13_double_functions.h"
  39. .file 24 "/usr/local/cuda/bin/../include/common_types.h"
  40. .file 25 "/usr/local/cuda/bin/../include/sm_20_atomic_functions.h"
  41. .file 26 "/usr/local/cuda/bin/../include/sm_20_intrinsics.h"
  42. .file 27 "/usr/local/cuda/bin/../include/math_functions_dbl_ptx1.h"
  43. .file 28 "hello.cu"
  44. .entry helloWorld (
  45. .param .u32 __cudaparm_helloWorld_str)
  46. {
  47. .reg .u16 %rh<4>;
  48. .reg .u32 %r<9>;
  49. .loc 28 58 0
  50. $LBB1_helloWorld:
  51. .loc 28 64 0
  52. mov.u16 %rh1, %ctaid.x;
  53. mov.u16 %rh2, %ntid.x;
  54. mul.wide.u16 %r1, %rh1, %rh2;
  55. cvt.u32.u16 %r2, %tid.x;
  56. add.u32 %r3, %r2, %r1;
  57. ld.param.u32 %r4, [__cudaparm_helloWorld_str];
  58. add.u32 %r5, %r4, %r3;
  59. ld.global.s8 %r6, [%r5+0];
  60. add.s32 %r7, %r6, %r3;
  61. st.global.s8 [%r5+0], %r7;
  62. .loc 28 65 0
  63. exit;
  64. $LDWend_helloWorld:
  65. } // helloWorld