bootstrap: support aarch64 in 32-bit mode
* `CMakeLists.txt`: support the weird `uname -m` output. * `CMakeLists.txt`: detect and use the C compiler's default arm mode. * cbe: support gcc with both `f128` and `u128` emulated. * std.os.linux.thumb: fix incorrectly passed asm inputs.
This commit is contained in:
committed by
Andrew Kelley
parent
8ae92fd17e
commit
78eb3c5617
@@ -732,9 +732,7 @@ pub const DeclGen = struct {
|
||||
// All unsigned ints matching float types are pre-allocated.
|
||||
const repr_ty = mod.intType(.unsigned, bits) catch unreachable;
|
||||
|
||||
try writer.writeAll("zig_cast_");
|
||||
try dg.renderTypeForBuiltinFnName(writer, ty);
|
||||
try writer.writeAll(" zig_make_");
|
||||
try writer.writeAll("zig_make_");
|
||||
try dg.renderTypeForBuiltinFnName(writer, ty);
|
||||
try writer.writeByte('(');
|
||||
switch (bits) {
|
||||
@@ -1049,9 +1047,6 @@ pub const DeclGen = struct {
|
||||
|
||||
const repr_val = try mod.intValue_big(repr_ty, repr_val_big.toConst());
|
||||
|
||||
try writer.writeAll("zig_cast_");
|
||||
try dg.renderTypeForBuiltinFnName(writer, ty);
|
||||
try writer.writeByte(' ');
|
||||
var empty = true;
|
||||
if (std.math.isFinite(f128_val)) {
|
||||
try writer.writeAll("zig_make_");
|
||||
|
||||
Reference in New Issue
Block a user