aboutsummaryrefslogtreecommitdiff
path: root/src/zig_clang_driver.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-10-14 21:17:30 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-14 21:17:30 -0700
commit55eea3b045c86c78eb8d9cc862122d260352a631 (patch)
treea8e234fa3a68c1c62233f047b2b1647be2e091dd /src/zig_clang_driver.cpp
parent8b882747813878a40b63572636a6e86a59a8581e (diff)
downloadzig-55eea3b045c86c78eb8d9cc862122d260352a631.tar.gz
zig-55eea3b045c86c78eb8d9cc862122d260352a631.zip
stage2: implement `@minimum` and `@maximum`, including vectors
* std.os: take advantage of `@minimum`. It's probably time to deprecate `std.min` and `std.max`. * New AIR instructions: min and max * Introduce SIMD vector support to stage2 * Add `@Type` support for vectors * Sema: add `checkSimdBinOp` which can be re-used for other arithmatic operators that want to support vectors. * Implement coercion from vectors to arrays. - In backends this is handled with bitcast for vector to array, however maybe we want to reduce the amount of branching by introducing an explicit AIR instruction for it in the future. * LLVM backend: implement lowering vector types * Sema: Implement `slice.ptr` at comptime * Value: improve `numberMin` and `numberMax` to support floats in addition to integers, and make them behave properly in the presence of NaN.
Diffstat (limited to 'src/zig_clang_driver.cpp')
0 files changed, 0 insertions, 0 deletions