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