Add OpenCL extended instructions.
authorDavid Neto <dneto@google.com>
Wed, 14 Oct 2015 21:02:11 +0000 (17:02 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000 (12:55 -0400)
commit21c4ad4b2243d92614aa5a1abc7401ef4bfd9bd4
tree6919efcc561c654067b6a305b587309db7a63a9d
parentccc210b4cc0c01c96184aab044986095bf9ea2d2
Add OpenCL extended instructions.

Versions 1.2, 2.0, and 2.1 all use the same
extended instruction list.

Updated the source code patch for the SPIR-V doc generator,
so it can both generate the core syntax table, and also the
OpenCL extended instructions table.

Tested the Math and Common functions.
TODO: test the remaining entries.
CMakeLists.txt
include/libspirv/libspirv.h
source/ext_inst.cpp
source/opencl_std_ext_inst.inc [new file with mode: 0644]
source/syntax_tables.patch [moved from source/core_syntax_table.patch with 64% similarity]
test/ExtInst.OpenCL.std.cpp [new file with mode: 0644]