# compiler_rt: add missing PPC routines · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f043071cdfb956ff16b1441c9d01ce43eea9fb7b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f043071cdfb956ff16b1441c9d01ce43eea9fb7b

Requested commit: f043071cdfb956ff16b1441c9d01ce43eea9fb7b

Commit: f043071cdfb956ff16b1441c9d01ce43eea9fb7b

Tree: 04c944e1b2da68edb1e552b1113fb0c65dc92cd5

Author: Jan Philipp Hafer

Committer: Andrew Kelley

## Message

```
compiler_rt: add missing PPC routines

Adds conditional exports
- __fixkfti
- __fixunskfti
- __floattikf
- __negkf2
- __mulkc3
- __divkc3
- __powikf2
and adjusts tools/gen_stubs.zig.

From https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html:
"When long double transitions to __float128 on PowerPC in the future,
__ibm128 will remain for use in conversions between the two types."

Hence `__extendkftf2` and `__trunctfkf2` for conversion are superfluous
and only using f128 for `kf` routines is justified.

Closes #16057.

```

## Parents

- [e95fc2023f90e8c257dbe0ed247f5245b69f48a4](https://git.cafe/gitcafe/zig/commit/e95fc2023f90e8c257dbe0ed247f5245b69f48a4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f043071cdfb956ff16b1441c9d01ce43eea9fb7b?format=markdown)
