gcnasm
gcnasm copied to clipboard
GCN ISA assembler tool for my GSoC project at Openwall
I added sample SOP2 unit tests.
Especially for OpenCL code.
This is available in .il but not in .isa. We need to find a way to access this data from isa level.
This is needed for manual inspection.
Currently this is not supported. It might be difficult to tell which format to use, it can't be decided solely based on the number of operands passed. For example: v_add_i32...
Currently the range is unchecked for SGPR operands. For example when somebody uses s[4:7], only the value 4 is being used, regardless of the end of range. If the user's...
It would be useful if the user could specify the number of available VGPRs on the device they use. If an instruction tried to use a VGPR out of range,...
These don't seem very important yet, but they may be in the future. The problem with VINTRP is the lack of documentation for the operand format.
parser.c: if (in_file == NULL) ERROR("opening file \"%s\"", input); (...) if (out_file == NULL) ERROR("opening file \"%s\"", output); (...) if (fwrite(&src, sizeof(uint32_t), 1, out_file) == 0) ERROR("writing file \"%s\"", output);...