c-metag.texi 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. @c Copyright (C) 2013-2022 Free Software Foundation, Inc.
  2. @c Contributed by Imagination Technologies Ltd.
  3. @c This is part of the GAS manual.
  4. @c For copying conditions, see the file as.texinfo.
  5. @c man end
  6. @ifset GENERIC
  7. @page
  8. @node Meta-Dependent
  9. @chapter Meta Dependent Features
  10. @end ifset
  11. @ifclear GENERIC
  12. @node Machine Dependencies
  13. @chapter Meta Dependent Features
  14. @end ifclear
  15. @cindex Meta support
  16. @menu
  17. * Meta Options:: Options
  18. * Meta Syntax:: Meta Assembler Syntax
  19. @end menu
  20. @node Meta Options
  21. @section Options
  22. @cindex options for Meta
  23. @cindex Meta options
  24. @cindex architectures, Meta
  25. @cindex Meta architectures
  26. The Imagination Technologies Meta architecture is implemented in a
  27. number of versions, with each new version adding new features such as
  28. instructions and registers. For precise details of what instructions
  29. each core supports, please see the chip's technical reference manual.
  30. The following table lists all available Meta options.
  31. @c man begin OPTIONS
  32. @table @code
  33. @item -mcpu=metac11
  34. Generate code for Meta 1.1.
  35. @item -mcpu=metac12
  36. Generate code for Meta 1.2.
  37. @item -mcpu=metac21
  38. Generate code for Meta 2.1.
  39. @item -mfpu=metac21
  40. Allow code to use FPU hardware of Meta 2.1.
  41. @end table
  42. @c man end
  43. @node Meta Syntax
  44. @section Syntax
  45. @menu
  46. * Meta-Chars:: Special Characters
  47. * Meta-Regs:: Register Names
  48. @end menu
  49. @node Meta-Chars
  50. @subsection Special Characters
  51. @cindex line comment character, Meta
  52. @cindex Meta line comment character
  53. @samp{!} is the line comment character.
  54. @cindex line separator, Meta
  55. @cindex statement separator, Meta
  56. @cindex Meta line separator
  57. You can use @samp{;} instead of a newline to separate statements.
  58. @cindex symbol names, @samp{$} in
  59. @cindex @code{$} in symbol names
  60. Since @samp{$} has no special meaning, you may use it in symbol names.
  61. @node Meta-Regs
  62. @subsection Register Names
  63. @cindex Meta registers
  64. @cindex registers, Meta
  65. Registers can be specified either using their mnemonic names, such as
  66. @samp{D0Re0}, or using the unit plus register number separated by a @samp{.},
  67. such as @samp{D0.0}.