diff options
author | Rob Clark <robdclark@gmail.com> | 2018-03-15 18:42:44 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-03-27 08:36:37 -0400 |
commit | 76dfed8ae2d5c6c509eb2661389be3c6a25077df (patch) | |
tree | e811d58f7f277c7844c3421eab1203e7d55607a2 /docs | |
parent | cc3a88e81dbceb12b79eb4ebe7a4ce5ba97fc291 (diff) |
nir: mako all the intrinsics
I threatened to do this a long time ago.. I probably *should* have done
it a long time ago when there where many fewer intrinsics. But the
system of macro/#include magic for dealing with intrinsics is a bit
annoying, and python has the nice property of optional fxn params,
making it possible to define new intrinsics while ignoring parameters
that are not applicable (and naming optional params). And not having to
specify various array lengths explicitly is nice too.
I think the end result makes it easier to add new intrinsics.
v2: couple small fixes found with a test program to compare the old and
new tables
v3: misc comments, don't rely on capture=true for meson.build, get rid
of system_values table to avoid return value of intrinsic() and
*mostly* remove side-effects, add autotools build support
v4: scons build
Signed-off-by: Rob Clark <robdclark@gmail.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions