Changes between Version 45 and Version 46 of ClrxAsmPseudoOps
- Timestamp:
- 02/15/25 22:21:23 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClrxAsmPseudoOps
v45 v46 9 9 <h3>.32bit</h3> 10 10 <p>This pseudo-operation should to be at begin of source. 11 Choose 32-bit binaries (it ha vemeaningful for the AMD Catalyst and GalliumCompute11 Choose 32-bit binaries (it has meaningful for the AMD Catalyst and GalliumCompute 12 12 binary format). For AMD Catalyst OpenCL 1.2 and 2.0 format, it determines 13 13 bitness of address. For GalliumCompute, it determines bitness of inner ELF binary. … … 15 15 <h3>.64bit</h3> 16 16 <p>This pseudo-operation should to be at begin of source. 17 Choose 64-bit binaries (it ha vemeaningful for the AMD Catalyst and GalliumCompute17 Choose 64-bit binaries (it has meaningful for the AMD Catalyst and GalliumCompute 18 18 binary format). For AMD Catalyst OpenCL 1.2 and 2.0 format, it determines 19 19 bitness of address. For GalliumCompute, it determines bitness of inner ELF binary. … … 78 78 <p>This pseudo-operation should to be at begin of source. Set GPU architecture. 79 79 One of following architecture can be set: 80 SI, VI, CI, VEGA, VEGA20, GFX6, GFX7, GFX8, GFX9, GFX906, GCN1.0, GCN1.1, GCN1.2,81 GCN1. 4 and GCN1.4.1.</p>80 SI, VI, CI, VEGA, VEGA20, Navi, NaviDL, GFX6, GFX7, GFX8, GFX9, GFX906, GFX10, GFX1011, 81 GCN1.0, GCN1.1, GCN1.2, GCN1.4, GCN1.4.1, GCN1.5, GCN1.5.1.</p> 82 82 <h3>.ascii</h3> 83 83 <p>Syntax: .ascii "STRING",....</p> … … 99 99 <h3>.byte</h3> 100 100 <p>Syntax: .byte ABS-EXPR,....</p> 101 <p>Emit byte values. If any expression is empty then anassembler stores101 <p>Emit byte values. If any expression is empty then the assembler stores 102 102 0 and warns about empty expression. If expression will give a value that can not be stored 103 in byte then anassembler warn about that.</p>103 in byte then the assembler warn about that.</p> 104 104 <h3>.data</h3> 105 105 <p>Go to <code>.data</code> section. If this section doesn't exist assembler create it.</p> … … 107 107 <p>Syntax: .double DOUBLE-VAL,...</p> 108 108 <p>Put double-precision floating point values into current section. 109 If no value between comma then anassembler stores 0 and warn about no value.109 If no value between comma then the assembler stores 0 and warn about no value. 110 110 This pseudo-operation accepts only double precision floating point literals.</p> 111 111 <h3>.else</h3> … … 292 292 <td>VEGA20 (GFX906)</td> 293 293 </tr> 294 <tr> 295 <td>5</td> 296 <td>NAVI (RX 5700)</td> 297 </tr> 298 <tr> 299 <td>6</td> 300 <td>NAVI DL</td> 301 </tr> 294 302 </tbody> 295 303 </table> … … 457 465 <td>29</td> 458 466 <td>gfx907 (Radeon VEGA 20 ???)</td> 467 </tr> 468 <tr> 469 <td>30</td> 470 <td>gfx1000</td> 471 </tr> 472 <tr> 473 <td>31</td> 474 <td>gfx1010</td> 475 </tr> 476 <tr> 477 <td>32</td> 478 <td>gfx1011</td> 459 479 </tr> 460 480 </tbody> … … 482 502 Goose, Hainan, Hawaii, Horse, Iceland, Kalindi, Mullins, Oland, Pitcairn, Polaris10, 483 503 Polaris11, Polaris12, Polaris20, Polaris21, Polaris22, Raven, Spectre, Spooky, Stoney, 484 Tahiti, Tonga, Topaz, Vega10, Vega11, Vega12 and Vega20.</p>504 Tahiti, Tonga, Topaz, Vega10, Vega11, Vega12, Vega20, GFX1000, GFX1010, GFX1011, Navi10.</p> 485 505 <h3>.half</h3> 486 506 <p>Syntax: .half HALF-VAL,...</p> 487 507 <p>Emit half-precision floating point values. 488 If no value between comma then anassembler stores 0 and warn about no value.508 If no value between comma then the assembler stores 0 and warn about no value. 489 509 This pseudo-operation accepts only half precision floating point literals.</p> 490 510 <h3>.hword, .short</h3> 491 511 <p>Syntax: .hword ABS-EXPR,.... 492 512 Syntax: .short ABS-EXPR,....</p> 493 <p>Emit 2-byte word values. If any expression is empty then anassembler513 <p>Emit 2-byte word values. If any expression is empty then the assembler 494 514 stores 0 and warns about empty expression. If expression will give a value that can not be 495 stored in 2-byte word then anassembler warn about that.</p>515 stored in 2-byte word then the assembler warn about that.</p> 496 516 <h3>.ifXXX</h3> 497 517 <p>Syntax: .if ABS-EXPR<br /> … … 602 622 <p>Syntax: .int ABS-EXPR,....<br /> 603 623 Syntax: .long ABS-EXPR,....</p> 604 <p>Emit 4-byte word values. If any expression is empty then anassembler624 <p>Emit 4-byte word values. If any expression is empty then the assembler 605 625 stores 0 and warns about empty expression. If expression will give a value that can not be 606 stored in 4-byte word then anassembler warn about that.</p>626 stored in 4-byte word then the assembler warn about that.</p> 607 627 <h3>.kernel</h3> 608 628 <p>Syntax: .kernel KERNELNAME</p> … … 632 652 macro1 Linux # define LinuxSymbol=10</code></p> 633 653 <p>That substitution is useful to create labels and symbols that can not be redefined. 634 Value of the argument is string. Optionally, argument can ha vethe default value654 Value of the argument is string. Optionally, argument can has the default value 635 655 which will be used if no argument value is not given in a macro call.</p> 636 656 <p>List of the argument definition:</p> … … 698 718 <h3>.octa</h3> 699 719 <p>Syntax: .octa OCTA-LITERAL,...</p> 700 <p>Emit 128-bit word values. If no value between comma then anassembler stores 0 and warn720 <p>Emit 128-bit word values. If no value between comma then the assembler stores 0 and warn 701 721 about no value. This pseudo-operation accepts only 128-bit word literals.</p> 702 722 <h3>.offset, .struct</h3> … … 731 751 <h3>.quad</h3> 732 752 <p>Syntax: .quad ABS-EXPR,....</p> 733 <p>Emit 8-byte word values. If any expression is empty then anassembler753 <p>Emit 8-byte word values. If any expression is empty then the assembler 734 754 stores 0 and warns about empty expression.</p> 735 755 <h3>.rawcode</h3> … … 766 786 inside scopes and visible inside them. The assembler create always global scope at begin. 767 787 If scope doesn't exists then will be created. The nested scopes are allowed even 768 if parent scope is temporary scope. The opened scope ha veparent that is previous scope.788 if parent scope is temporary scope. The opened scope has parent that is previous scope. 769 789 Temporary scopes exists until first close.</p> 770 790 <h3>.section</h3> … … 831 851 <h3>.weak</h3> 832 852 <p>Syntax: .weak SYMBOL,...</p> 833 <p>Indicates that symbols will be aweak. Currently, unused feature of the symbol by853 <p>Indicates that symbols will be weak. Currently, unused feature of the symbol by 834 854 the CLRX assembler.</p> 835 855 <h3>.while</h3> … … 850 870 <p>Syntax: .word ABS-EXPR,....</p> 851 871 <p>Emit processor's word values. If any expression is empty then 852 anassembler stores 0 and warns about empty expression. If expression will give a value853 that can not be stored in processor's word then anassembler warn about that.</p>854 <p>Processor's word ha vealways 4 bytes.</p>872 the assembler stores 0 and warns about empty expression. If expression will give a value 873 that can not be stored in processor's word then the assembler warn about that.</p> 874 <p>Processor's word has always 4 bytes.</p> 855 875 }}}