# cbe: all behaviour tests now pass on msvc · gitcafe/zig

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

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

Visibility: public

Requested revision: 6ed049fe3642c775e53b3bef2f9bfb6a1de0f325

Requested commit: 6ed049fe3642c775e53b3bef2f9bfb6a1de0f325

Commit: 6ed049fe3642c775e53b3bef2f9bfb6a1de0f325

Tree: f7576810e64dea9e247275b80c335741a4a75749

Author: kcbanner

Committer: kcbanner

## Message

```
cbe: all behaviour tests now pass on msvc

- Fix zig_clz_u128 not respecting the bits argument. This was crashing the compile-rt addxf3 tests with the cbe
- Instead of redering a negation for negative 128 bit int literals, render the literal as twos complement. This allows
rendering int representations of floats correctly (specifically f80).

```

## Parents

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

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