mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
Add sparc64 long double mapping
This commit is contained in:
parent
daf6c0da5b
commit
cf2ee4ae2c
@ -8640,6 +8640,9 @@ static void define_builtin_types(CodeGen *g) {
|
||||
case ZigLLVM_ppc64le:
|
||||
add_fp_entry(g, "c_longdouble", 128, LLVMFP128Type(), &g->builtin_types.entry_c_longdouble);
|
||||
break;
|
||||
case ZigLLVM_sparcv9:
|
||||
add_fp_entry(g, "c_longdouble", 128, LLVMFP128Type(), &g->builtin_types.entry_c_longdouble);
|
||||
break;
|
||||
case ZigLLVM_avr:
|
||||
// It's either a float or a double, depending on a toolchain switch
|
||||
add_fp_entry(g, "c_longdouble", 64, LLVMDoubleType(), &g->builtin_types.entry_c_longdouble);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user