aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-08-16 19:07:35 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-08-16 19:07:35 -0400
commit6a98bf3dba6f3ed5b40fe7899899e2a792028be4 (patch)
tree9c4e4eb61e70ad0853119c12882c108631b7ad4b /src/analyze.cpp
parentcf46cd5f2b0f87430185c5d89056321d16f42d58 (diff)
downloadzig-6a98bf3dba6f3ed5b40fe7899899e2a792028be4.tar.gz
zig-6a98bf3dba6f3ed5b40fe7899899e2a792028be4.zip
compiler_rt implementations for __fixuns* functions
* add u128 and i128 integer types * add f128 floating point type * implement big integer multiplication (See #405)
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index 8418dbdcd1..1cb36682f9 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -3085,6 +3085,8 @@ TypeTableEntry **get_int_type_ptr(CodeGen *g, bool is_signed, uint32_t size_in_b
index = 2;
} else if (size_in_bits == 64) {
index = 3;
+ } else if (size_in_bits == 128) {
+ index = 4;
} else {
return nullptr;
}