|
1 | 1 | # ========================== begin_copyright_notice ============================ |
2 | 2 | # |
3 | | -# Copyright (C) 2022-2025 Intel Corporation |
| 3 | +# Copyright (C) 2022-2024 Intel Corporation |
4 | 4 | # |
5 | 5 | # SPDX-License-Identifier: MIT |
6 | 6 | # |
|
105 | 105 | ## |
106 | 106 | ## * Return value: private/local/global pointer |
107 | 107 | ## |
108 | | -## This intrinsic attempts to explicitly convert a generic ptr to a |
109 | | -## private/local/global ptr. If the cast fails the intrinsic returns null pointer. |
| 108 | +## This intrisic attempts to explicitly convert a generic ptr to a |
| 109 | +## private/local/global ptr. If the cast fails the intrisic returns null pointer. |
110 | 110 | "cast_to_ptr_explicit" : { "result": "anyptr", |
111 | 111 | "arguments": ["ptr_generic"], |
112 | 112 | "attributes": "None", |
|
216 | 216 | "atomic_fmin" : { "result": "anyfloat", |
217 | 217 | "arguments": [ "anyptr", "int", "int", |
218 | 218 | "anyfloat"], |
219 | | - "attributes": "None", |
220 | | - "memory_effects": |
221 | | - { "access": "ModRef" }, }, |
| 219 | + "attributes": "SideEffects", }, |
222 | 220 | "atomic_fmax" : { "result": "anyfloat", |
223 | 221 | "arguments": [ "anyptr", "int", "int", |
224 | 222 | "anyfloat"], |
225 | | - "attributes": "None", |
226 | | - "memory_effects": |
227 | | - { "access": "ModRef" }, }, |
| 223 | + "attributes": "SideEffects", }, |
228 | 224 |
|
229 | 225 | ## ``llvm.vc.internal.rsqrtm`` : computes component-wise reciprocal square root |
230 | 226 | ## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
306 | 302 | "target" : [ |
307 | 303 | "hasLSCMessages", |
308 | 304 | ], |
309 | | - "attributes": "None", |
310 | | - "memory_effects": |
311 | | - { "access": "ModRef" }, }, |
| 305 | + "attributes": "SideEffects", }, |
312 | 306 | "lsc_atomic_bss": { "result": "anyvector", |
313 | 307 | "arguments": [ |
314 | 308 | "anyint", # vNxi1, predicate |
|
327 | 321 | "target" : [ |
328 | 322 | "hasLSCMessages", |
329 | 323 | ], |
330 | | - "attributes": "None", |
331 | | - "memory_effects": |
332 | | - { "access": "ModRef" }, }, |
| 324 | + "attributes": "SideEffects", }, |
333 | 325 | "lsc_atomic_slm": { "result": "anyvector", |
334 | 326 | "arguments": [ |
335 | 327 | "anyint", # vNxi1, predicate |
|
348 | 340 | "target" : [ |
349 | 341 | "hasLSCMessages", |
350 | 342 | ], |
351 | | - "attributes": "None", |
352 | | - "memory_effects": |
353 | | - { "access": "ModRef" }, }, |
| 343 | + "attributes": "SideEffects", }, |
354 | 344 | "lsc_atomic_ugm": { "result": "anyvector", |
355 | 345 | "arguments": [ |
356 | 346 | "anyint", # vNxi1, predicate |
|
369 | 359 | "target" : [ |
370 | 360 | "hasLSCMessages", |
371 | 361 | ], |
372 | | - "attributes": "None", |
373 | | - "memory_effects": |
374 | | - { "access": "ModRef" }, }, |
| 362 | + "attributes": "SideEffects", }, |
375 | 363 |
|
376 | 364 | ## ``llvm.vc.internal.lsc.load.*`` : LSC load intrinsics |
377 | 365 | ## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
861 | 849 | "anyint", # cache controls |
862 | 850 | "char", # number of blocks |
863 | 851 | "short", # block width |
864 | | - "short", # block height |
| 852 | + "short", # block heigth |
865 | 853 | "long", # memory base address |
866 | 854 | "int", # memory matrix width (minus 1) |
867 | 855 | "int", # memory matrix height (minus 1) |
|
885 | 873 | "anyint", # cache controls |
886 | 874 | "char", # number of blocks |
887 | 875 | "short", # block width |
888 | | - "short", # block height |
| 876 | + "short", # block heigth |
889 | 877 | "long", # memory base address |
890 | 878 | "int", # memory matrix width (minus 1) |
891 | 879 | "int", # memory matrix height (minus 1) |
|
909 | 897 | "anyint", # cache controls |
910 | 898 | "char", # number of blocks |
911 | 899 | "short", # block width |
912 | | - "short", # block height |
| 900 | + "short", # block heigth |
913 | 901 | "long", # memory base address |
914 | 902 | "int", # memory matrix width (minus 1) |
915 | 903 | "int", # memory matrix height (minus 1) |
|
933 | 921 | "anyint", # cache controls |
934 | 922 | "char", # number of blocks |
935 | 923 | "short", # block width |
936 | | - "short", # block height |
| 924 | + "short", # block heigth |
937 | 925 | "long", # memory base address |
938 | 926 | "int", # memory matrix width (minus 1) |
939 | 927 | "int", # memory matrix height (minus 1) |
|
954 | 942 | "anyint", # cache controls |
955 | 943 | "char", # number of blocks |
956 | 944 | "short", # block width |
957 | | - "short", # block height |
| 945 | + "short", # block heigth |
958 | 946 | "long", # memory base address |
959 | 947 | "int", # memory matrix width (minus 1) |
960 | 948 | "int", # memory matrix height (minus 1) |
|
1336 | 1324 | ## * arg0: vNi1 Predicate (overloaded) |
1337 | 1325 | ## * arg1: i16, Opcode [MBC] |
1338 | 1326 | ## * arg2: i8, Channel mask [MBC] |
1339 | | -## * arg3: i16, Address offset packed immediate (aoffimmi) [MBC] |
| 1327 | +## * arg3: i16, Address offset packed immediates (aoffimmi) [MBC] |
1340 | 1328 | ## * arg4: i32, Surface BTI |
1341 | 1329 | ## * arg5: vector to take values for masked simd lanes from |
1342 | 1330 | ## * arg6: vNi32 or vNi16, first sampler message parameter (overloaded) |
|
1619 | 1607 | "target" : [ |
1620 | 1608 | "!noLegacyDataport" |
1621 | 1609 | ], |
1622 | | - "attributes": "None", |
1623 | | - "memory_effects": |
1624 | | - { "access": "ModRef" }, }, |
| 1610 | + "attributes" : "SideEffects" }, |
1625 | 1611 | "typed_atomic_sub_predef_surface" : { "result" : "anyvector", |
1626 | 1612 | "arguments" : [ |
1627 | 1613 | "anyvector", |
|
1635 | 1621 | "target" : [ |
1636 | 1622 | "!noLegacyDataport" |
1637 | 1623 | ], |
1638 | | - "attributes": "None", |
1639 | | - "memory_effects": |
1640 | | - { "access": "ModRef" }, }, |
| 1624 | + "attributes" : "SideEffects" }, |
1641 | 1625 | "typed_atomic_min_predef_surface" : { "result" : "anyvector", |
1642 | 1626 | "arguments" : [ |
1643 | 1627 | "anyvector", |
|
1651 | 1635 | "target" : [ |
1652 | 1636 | "!noLegacyDataport" |
1653 | 1637 | ], |
1654 | | - "attributes": "None", |
1655 | | - "memory_effects": |
1656 | | - { "access": "ModRef" }, }, |
| 1638 | + "attributes" : "SideEffects" }, |
1657 | 1639 | "typed_atomic_max_predef_surface" : { "result" : "anyvector", |
1658 | 1640 | "arguments" : [ |
1659 | 1641 | "anyvector", |
|
1667 | 1649 | "target" : [ |
1668 | 1650 | "!noLegacyDataport" |
1669 | 1651 | ], |
1670 | | - "attributes": "None", |
1671 | | - "memory_effects": |
1672 | | - { "access": "ModRef" }, }, |
| 1652 | + "attributes" : "SideEffects" }, |
1673 | 1653 |
|
1674 | 1654 | "typed_atomic_xchg_predef_surface" : { "result" : "anyvector", |
1675 | 1655 | "arguments" : [ |
|
1684 | 1664 | "target" : [ |
1685 | 1665 | "!noLegacyDataport" |
1686 | 1666 | ], |
1687 | | - "attributes": "None", |
1688 | | - "memory_effects": |
1689 | | - { "access": "ModRef" }, }, |
| 1667 | + "attributes" : "SideEffects" }, |
1690 | 1668 | "typed_atomic_and_predef_surface" : { "result" : "anyvector", |
1691 | 1669 | "arguments" : [ |
1692 | 1670 | "anyvector", |
|
1700 | 1678 | "target" : [ |
1701 | 1679 | "!noLegacyDataport" |
1702 | 1680 | ], |
1703 | | - "attributes": "None", |
1704 | | - "memory_effects": |
1705 | | - { "access": "ModRef" }, }, |
| 1681 | + "attributes" : "SideEffects" }, |
1706 | 1682 | "typed_atomic_or_predef_surface" : { "result" : "anyvector", |
1707 | 1683 | "arguments" : [ |
1708 | 1684 | "anyvector", |
|
1716 | 1692 | "target" : [ |
1717 | 1693 | "!noLegacyDataport" |
1718 | 1694 | ], |
1719 | | - "attributes": "None", |
1720 | | - "memory_effects": |
1721 | | - { "access": "ModRef" }, }, |
| 1695 | + "attributes" : "SideEffects" }, |
1722 | 1696 |
|
1723 | 1697 |
|
1724 | 1698 | "typed_atomic_xor_predef_surface" : { "result" : "anyvector", |
|
1734 | 1708 | "target" : [ |
1735 | 1709 | "!noLegacyDataport" |
1736 | 1710 | ], |
1737 | | - "attributes": "None", |
1738 | | - "memory_effects": |
1739 | | - { "access": "ModRef" }, }, |
| 1711 | + "attributes" : "SideEffects" }, |
1740 | 1712 | "typed_atomic_imin_predef_surface" : { "result" : "anyvector", |
1741 | 1713 | "arguments" : [ |
1742 | 1714 | "anyvector", |
|
1750 | 1722 | "target" : [ |
1751 | 1723 | "!noLegacyDataport" |
1752 | 1724 | ], |
1753 | | - "attributes": "None", |
1754 | | - "memory_effects": |
1755 | | - { "access": "ModRef" }, }, |
| 1725 | + "attributes" : "SideEffects" }, |
1756 | 1726 | "typed_atomic_imax_predef_surface" : { "result" : "anyvector", |
1757 | 1727 | "arguments" : [ |
1758 | 1728 | "anyvector", |
|
1766 | 1736 | "target" : [ |
1767 | 1737 | "!noLegacyDataport" |
1768 | 1738 | ], |
1769 | | - "attributes": "None", |
1770 | | - "memory_effects": |
1771 | | - { "access": "ModRef" }, }, |
| 1739 | + "attributes" : "SideEffects" }, |
1772 | 1740 |
|
1773 | 1741 | ## ``llvm.vc.internal.typed.atomic.*.predef.surface.*`` : legacy atomic typed predefined surface |
1774 | 1742 | ## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
1798 | 1766 | "target" : [ |
1799 | 1767 | "!noLegacyDataport" |
1800 | 1768 | ], |
1801 | | - "attributes": "None", |
1802 | | - "memory_effects": |
1803 | | - { "access": "ModRef" }, }, |
| 1769 | + "attributes" : "SideEffects" }, |
1804 | 1770 | "typed_atomic_dec_predef_surface" : { "result" : "anyvector", |
1805 | 1771 | "arguments" : [ |
1806 | 1772 | "anyvector", # predicate |
|
1813 | 1779 | "target" : [ |
1814 | 1780 | "!noLegacyDataport" |
1815 | 1781 | ], |
1816 | | - "attributes": "None", |
1817 | | - "memory_effects": |
1818 | | - { "access": "ModRef" }, }, |
| 1782 | + "attributes" : "SideEffects" }, |
1819 | 1783 |
|
1820 | 1784 | ## ``llvm.vc.internal.typed.atomic.*.predef.surface.cmpxchg.*`` : legacy atomic typed CMPXCHG predefined surface |
1821 | 1785 | ## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
1849 | 1813 | "target" : [ |
1850 | 1814 | "!noLegacyDataport" |
1851 | 1815 | ], |
1852 | | - "attributes": "None", |
1853 | | - "memory_effects": |
1854 | | - { "access": "ModRef" }, }, |
| 1816 | + "attributes" : "SideEffects" }, |
1855 | 1817 |
|
1856 | 1818 | ## ``llvm.vc.internal.gather4.typed.predef.surface.*`` : legacy cmask typed load predefined surface |
1857 | 1819 | ## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
0 commit comments