ppc_asm.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /* Condition Register Bit Fields */
  2. #define cr0 0
  3. #define cr1 1
  4. #define cr2 2
  5. #define cr3 3
  6. #define cr4 4
  7. #define cr5 5
  8. #define cr6 6
  9. #define cr7 7
  10. /* General Purpose Registers (GPRs) */
  11. #define r0 0
  12. #define r1 1
  13. #define r2 2
  14. #define r3 3
  15. #define r4 4
  16. #define r5 5
  17. #define r6 6
  18. #define r7 7
  19. #define r8 8
  20. #define r9 9
  21. #define r10 10
  22. #define r11 11
  23. #define r12 12
  24. #define r13 13
  25. #define r14 14
  26. #define r15 15
  27. #define r16 16
  28. #define r17 17
  29. #define r18 18
  30. #define r19 19
  31. #define r20 20
  32. #define r21 21
  33. #define r22 22
  34. #define r23 23
  35. #define r24 24
  36. #define r25 25
  37. #define r26 26
  38. #define r27 27
  39. #define r28 28
  40. #define r29 29
  41. #define r30 30
  42. #define r31 31
  43. /* Floating Point Registers (FPRs) */
  44. #define fr0 0
  45. #define fr1 1
  46. #define fr2 2
  47. #define fr3 3
  48. #define fr4 4
  49. #define fr5 5
  50. #define fr6 6
  51. #define fr7 7
  52. #define fr8 8
  53. #define fr9 9
  54. #define fr10 10
  55. #define fr11 11
  56. #define fr12 12
  57. #define fr13 13
  58. #define fr14 14
  59. #define fr15 15
  60. #define fr16 16
  61. #define fr17 17
  62. #define fr18 18
  63. #define fr19 19
  64. #define fr20 20
  65. #define fr21 21
  66. #define fr22 22
  67. #define fr23 23
  68. #define fr24 24
  69. #define fr25 25
  70. #define fr26 26
  71. #define fr27 27
  72. #define fr28 28
  73. #define fr29 29
  74. #define fr30 30
  75. #define fr31 31
  76. #define vr0 0
  77. #define vr1 1
  78. #define vr2 2
  79. #define vr3 3
  80. #define vr4 4
  81. #define vr5 5
  82. #define vr6 6
  83. #define vr7 7
  84. #define vr8 8
  85. #define vr9 9
  86. #define vr10 10
  87. #define vr11 11
  88. #define vr12 12
  89. #define vr13 13
  90. #define vr14 14
  91. #define vr15 15
  92. #define vr16 16
  93. #define vr17 17
  94. #define vr18 18
  95. #define vr19 19
  96. #define vr20 20
  97. #define vr21 21
  98. #define vr22 22
  99. #define vr23 23
  100. #define vr24 24
  101. #define vr25 25
  102. #define vr26 26
  103. #define vr27 27
  104. #define vr28 28
  105. #define vr29 29
  106. #define vr30 30
  107. #define vr31 31