SPIRV-Tools/source
David Neto 229b90f6f4 Print OpConstant values according to type.
Zero and normal floating point values are printed with enough
enough digits to reproduce all the bits exactly.
Other float values (subnormal, infinity, and NaN) are printed
as hex floats.

Fix a binary parse bug: Count partially filled words in a
typed literal number operand.

TODO: Assembler support for hex numbers, and therefore reading
infinities and NaNs.
2015-11-10 15:57:59 -05:00
..
assembly_grammar.cpp Refactor the binary parser. 2015-11-10 15:57:33 -05:00
assembly_grammar.h Refactor the binary parser. 2015-11-10 15:57:33 -05:00
binary.cpp Print OpConstant values according to type. 2015-11-10 15:57:59 -05:00
binary.h Refactor the binary parser. 2015-11-10 15:57:33 -05:00
diagnostic.cpp DiagnosticStream keeps a copy of the position. 2015-11-10 15:57:04 -05:00
diagnostic.h DiagnosticStream keeps a copy of the position. 2015-11-10 15:57:04 -05:00
disassemble.cpp Print OpConstant values according to type. 2015-11-10 15:57:59 -05:00
endian.cpp Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
endian.h Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
ext_inst.cpp Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
ext_inst.h Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
instruction.h Use spirv.h instead of spirv.hpp. 2015-11-02 13:52:20 -05:00
opcode.cpp spv_operand_type_t cleanup. 2015-11-10 15:57:45 -05:00
opcode.h Use the syntax table for opcode to name mappings. 2015-11-10 15:57:14 -05:00
opcode.inc Update core instruction syntax to Rev32 2015-10-26 12:55:33 -04:00
opencl_std_ext_inst.inc Add OpenCL extended instructions. 2015-10-26 12:55:33 -04:00
operand.cpp spv_operand_type_t cleanup. 2015-11-10 15:57:45 -05:00
operand.h spv_operand_type_t cleanup. 2015-11-10 15:57:45 -05:00
print.cpp Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
print.h Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
syntax_tables.patch Add OpenCL extended instructions. 2015-10-26 12:55:33 -04:00
text_handler.cpp advance() should check current string index is in bound. 2015-11-10 15:57:52 -05:00
text_handler.h DiagnosticStream keeps a copy of the position. 2015-11-10 15:57:04 -05:00
text.cpp Remove support for canonical assembly syntax format. 2015-11-10 15:57:49 -05:00
text.h Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
validate_id.cpp Consolidate: spvOpcodeIsType into spvOpcodeGeneratesType 2015-11-10 15:56:54 -05:00
validate.cpp Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00
validate.h Run clang-format to enforce Google style globally. 2015-11-10 15:56:47 -05:00