ppc_asm.h 896 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #include <ppc-asm.h>
  2. #define CONFIG_ALTIVEC
  3. #define r1 1
  4. #define R14 r14
  5. #define R15 r15
  6. #define R16 r16
  7. #define R17 r17
  8. #define R18 r18
  9. #define R19 r19
  10. #define R20 r20
  11. #define R21 r21
  12. #define R22 r22
  13. #define R29 r29
  14. #define R30 r30
  15. #define R31 r31
  16. #define STACKFRAMESIZE 256
  17. #define STK_REG(i) (112 + ((i)-14)*8)
  18. #define _GLOBAL(A) FUNC_START(test_ ## A)
  19. #define _GLOBAL_TOC(A) _GLOBAL(A)
  20. #define PPC_MTOCRF(A, B) mtocrf A, B
  21. #define EX_TABLE(x, y)
  22. FUNC_START(enter_vmx_usercopy)
  23. li r3,1
  24. blr
  25. FUNC_START(exit_vmx_usercopy)
  26. li r3,0
  27. blr
  28. FUNC_START(enter_vmx_copy)
  29. li r3,1
  30. blr
  31. FUNC_START(exit_vmx_copy)
  32. blr
  33. FUNC_START(memcpy_power7)
  34. blr
  35. FUNC_START(__copy_tofrom_user_power7)
  36. blr
  37. FUNC_START(__copy_tofrom_user_base)
  38. blr
  39. #define BEGIN_FTR_SECTION
  40. #define FTR_SECTION_ELSE
  41. #define ALT_FTR_SECTION_END_IFCLR(x)
  42. #define ALT_FTR_SECTION_END(x, y)
  43. #define END_FTR_SECTION_IFCLR(x)