Skip to content

Commit 6da7ce4

Browse files
committed
Auto merge of #161 - est31:i128, r=japaric
Implement i128 <-> float conversion functions Implements {u,i}128 <-> float conversion functions.
2 parents 280d19f + 673a6f9 commit 6da7ce4

13 files changed

+662
-45
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "compiler_builtins"
55
version = "0.1.0"
66

77
[build-dependencies]
8-
cast = { version = "0.2.0", optional = true }
8+
cast = { version = "0.2.2", features = ["x128"], optional = true }
99
rand = { version = "0.3.15", optional = true }
1010

1111
[build-dependencies.gcc]

Diff for: README.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -141,22 +141,22 @@ features = ["c"]
141141
- [x] divsi3.c
142142
- [ ] extendhfsf2.c
143143
- [ ] extendsfdf2.c
144-
- [ ] fixdfdi.c
145-
- [ ] fixdfsi.c
146-
- [ ] fixsfdi.c
147-
- [ ] fixsfsi.c
148-
- [ ] fixunsdfdi.c
149-
- [ ] fixunsdfsi.c
150-
- [ ] fixunssfdi.c
151-
- [ ] fixunssfsi.c
152-
- [ ] floatdidf.c
144+
- [x] fixdfdi.c
145+
- [x] fixdfsi.c
146+
- [x] fixsfdi.c
147+
- [x] fixsfsi.c
148+
- [x] fixunsdfdi.c
149+
- [x] fixunsdfsi.c
150+
- [x] fixunssfdi.c
151+
- [x] fixunssfsi.c
152+
- [x] floatdidf.c
153153
- [ ] floatdisf.c
154-
- [ ] floatsidf.c
155-
- [ ] floatsisf.c
156-
- [ ] floatundidf.c
154+
- [x] floatsidf.c
155+
- [x] floatsisf.c
156+
- [x] floatundidf.c
157157
- [ ] floatundisf.c
158-
- [ ] floatunsidf.c
159-
- [ ] floatunsisf.c
158+
- [x] floatunsidf.c
159+
- [x] floatunsisf.c
160160
- [ ] i386/ashldi3.S
161161
- [ ] i386/ashrdi3.S
162162
- [ ] i386/chkstk.S
@@ -196,14 +196,14 @@ These builtins are needed to support 128-bit integers, which are in the process
196196
- [x] ashlti3.c
197197
- [x] ashrti3.c
198198
- [x] divti3.c
199-
- [ ] fixdfti.c
200-
- [ ] fixsfti.c
201-
- [ ] fixunsdfti.c
202-
- [ ] fixunssfti.c
203-
- [ ] floattidf.c
204-
- [ ] floattisf.c
205-
- [ ] floatuntidf.c
206-
- [ ] floatuntisf.c
199+
- [x] fixdfti.c
200+
- [x] fixsfti.c
201+
- [x] fixunsdfti.c
202+
- [x] fixunssfti.c
203+
- [x] floattidf.c
204+
- [x] floattisf.c
205+
- [x] floatuntidf.c
206+
- [x] floatuntisf.c
207207
- [x] lshrti3.c
208208
- [x] modti3.c
209209
- [x] muloti4.c

0 commit comments

Comments
 (0)