diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2021-01-30 14:33:17 +0100 |
---|---|---|
committer | Matthäus G. Chajdas <dev@anteru.net> | 2021-01-30 14:33:17 +0100 |
commit | dab1998b313697ab94f391e63ea5a2ef7f46f073 (patch) | |
tree | 1f2c9cbf4ca25c53be25937ff0a0e1645064f8ca | |
parent | fc0d85490c8b64de8f60d70042ad7919470a0059 (diff) | |
download | pygments-git-dab1998b313697ab94f391e63ea5a2ef7f46f073.tar.gz |
Add expected output for the AMDGPU example.
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | tests/examplefiles/amdgpu/amdgpu.isa (renamed from tests/examplefiles/amdgpu.isa) | 0 | ||||
-rw-r--r-- | tests/examplefiles/amdgpu/amdgpu.isa.output | 130 |
3 files changed, 134 insertions, 0 deletions
@@ -11,6 +11,10 @@ Version 2.8.0 ------------- (not released yet) +- Added lexers: + + * AMDGPU (#1626) + - The `pygmentize` script now uses `argparse`, all options should work as before diff --git a/tests/examplefiles/amdgpu.isa b/tests/examplefiles/amdgpu/amdgpu.isa index fdab33cc..fdab33cc 100644 --- a/tests/examplefiles/amdgpu.isa +++ b/tests/examplefiles/amdgpu/amdgpu.isa diff --git a/tests/examplefiles/amdgpu/amdgpu.isa.output b/tests/examplefiles/amdgpu/amdgpu.isa.output new file mode 100644 index 00000000..d8f1c0f5 --- /dev/null +++ b/tests/examplefiles/amdgpu/amdgpu.isa.output @@ -0,0 +1,130 @@ +'s_load_dwordx2' Keyword +' ' Text.Whitespace +'s' Name.Variable +'[' Text +'4:5' Name.Attribute +']' Text +',' Text +' ' Text.Whitespace +'s' Name.Variable +'[' Text +'0:1' Name.Attribute +']' Text +',' Text +' ' Text.Whitespace +'0x10' Literal.Number.Integer +'\n' Text.Whitespace + +'s_load_dwordx4' Keyword +' ' Text.Whitespace +'s' Name.Variable +'[' Text +'0:3' Name.Attribute +']' Text +',' Text +' ' Text.Whitespace +'s' Name.Variable +'[' Text +'0:1' Name.Attribute +']' Text +',' Text +' ' Text.Whitespace +'0x00' Literal.Number.Integer +'\n' Text.Whitespace + +'v_lshlrev_b32' Keyword +' ' Text.Whitespace +'v0' Name.Variable +',' Text +' ' Text.Whitespace +'2' Literal.Number.Integer +',' Text +' ' Text.Whitespace +'v0' Name.Variable +'\n' Text.Whitespace + +'s_waitcnt' Keyword +' ' Text.Whitespace +'lgkmcnt' Name.Attribute +'(' Text +'0' Literal.Number.Integer +')' Text +'\n' Text.Whitespace + +'v_add_u32' Keyword +' ' Text.Whitespace +'v1' Name.Variable +',' Text +' ' Text.Whitespace +'vcc' Name.Variable +',' Text +' ' Text.Whitespace +'s2' Name.Variable +',' Text +' ' Text.Whitespace +'v0' Name.Variable +'\n' Text.Whitespace + +'v_mov_b32' Keyword +' ' Text.Whitespace +'v2' Name.Variable +',' Text +' ' Text.Whitespace +'s3' Name.Variable +'\n' Text.Whitespace + +'v_addc_u32' Keyword +' ' Text.Whitespace +'v2' Name.Variable +',' Text +' ' Text.Whitespace +'vcc' Name.Variable +',' Text +' ' Text.Whitespace +'v2' Name.Variable +',' Text +' ' Text.Whitespace +'0' Literal.Number.Integer +',' Text +' ' Text.Whitespace +'vcc' Name.Variable +'\n' Text.Whitespace + +'v_add_u32' Keyword +' ' Text.Whitespace +'v3' Name.Variable +',' Text +' ' Text.Whitespace +'vcc' Name.Variable +',' Text +' ' Text.Whitespace +'s0' Name.Variable +',' Text +' ' Text.Whitespace +'v0' Name.Variable +'\n' Text.Whitespace + +'v_mov_b32' Keyword +' ' Text.Whitespace +'v4' Name.Variable +',' Text +' ' Text.Whitespace +'s1' Name.Variable +'\n' Text.Whitespace + +'v_addc_u32' Keyword +' ' Text.Whitespace +'v4' Name.Variable +',' Text +' ' Text.Whitespace +'vcc' Name.Variable +',' Text +' ' Text.Whitespace +'v4' Name.Variable +',' Text +' ' Text.Whitespace +'0' Literal.Number.Integer +',' Text +' ' Text.Whitespace +'vcc' Name.Variable +'\n' Text.Whitespace |