aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.cpp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2018-06-27 16:20:04 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2018-06-27 16:20:04 +0200
commitfd75e73ee9818f12fd81d8fdb3cb949c492d664a (patch)
tree84ee56a2ef7a65a0bbb3a7dd12f015970b4ed725 /src/tokenizer.cpp
parent1f45075a0e1d86fa110011f6cedbef61a9f6f056 (diff)
downloadzig-fd75e73ee9818f12fd81d8fdb3cb949c492d664a.tar.gz
zig-fd75e73ee9818f12fd81d8fdb3cb949c492d664a.zip
add f16 type
Add support for half-precision floating point operations. Introduce `__extendhfsf2` and `__truncsfhf2` in std/special/compiler_rt. Add `__gnu_h2f_ieee` and `__gnu_f2h_ieee` as aliases that are used in Windows builds. The logic in std/special/compiler_rt/extendXfYf2.zig has been reworked and can now operate on 16 bits floating point types. `extendXfYf2()` and `truncXfYf2()` are marked `inline` to work around a not entirely understood stack alignment issue on Windows when calling the f16 versions of the builtins. closes #1122
Diffstat (limited to 'src/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions