3

V'ícCã@sVdZddlmZmZddlmZmZmZmZm	Z	m
Z
ddlZdgZGdd„deƒZ
dS)zÔ
    pygments.lexers.amdgpu
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the AMDGPU ISA assembly.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚwords)ÚNameÚTextÚKeywordÚ
WhitespaceÚNumberÚCommentNÚAMDGPULexerc@s¬eZdZdZdZdgZdgZejZ	dde
fdefdej
fd	efd
ejfdejfdejfd
ej
fed(ddej
fd efd!ejfd"efd#ejfd$ejfd%ejfd&ejfgiZd'S))r
z:
    For AMD GPU assembly.

    .. versionadded:: 2.8
    ZAMDGPUZamdgpuz*.isaÚrootz\s+z[\r\n]+z(([a-z_0-9])*:([a-z_0-9])*)z(\[|\]|\(|\)|,|\:|\&)z([;#]|//).*?\nz(((s_)?(ds|buffer|flat|image)_[a-z0-9_]+)z	(_lo|_hi)z(vmcnt|lgkmcnt|expcnt)ÚopÚvaddrÚvdataÚsoffsetÚsrsrcÚformatÚoffsetÚoffenÚidxenÚglcÚdlcÚslcÚtfeÚldsÚlitÚunormz\b)Úsuffixz(label_[a-z0-9]+)z
(_L[0-9]*)z(s|v)_[a-z0-9_]+z(v[0-9.]+|vcc|exec|v)z
s[0-9.]+|sz[0-9]+\.[^0-9]+z(0[xX][a-z0-9]+)|([0-9]+)N)rr
rrrrrrrrrrrrrr)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚreÚ
IGNORECASEÚflagsrrrÚ	Attributer	ÚSinglerZReservedÚVariablerrZFloatZIntegerÚtokens©r+r+ú:/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/amdgpu.pyr
s2)r Zpygments.lexerrrZpygments.tokenrrrrrr	r$Ú__all__r
r+r+r+r,Ú<module>	s