Commits

fmt

a1e02f33ad • Robin Voetter • Oct 4, 2021

Apply new big int wrap/saturate to Value.zig

3dc47b8161 • Robin Voetter • Oct 4, 2021

big ints: mulWrap tests

a62ce87f1f • Robin Voetter • Oct 4, 2021

big ints: Some extra comments

b352564b36 • Robin Voetter • Oct 4, 2021

big ints: saturate() tests

ebcdfebaa6 • Robin Voetter • Oct 4, 2021

big ints: saturate() function

bbd50248f2 • Robin Voetter • Oct 4, 2021

big ints: Wrapping multiplication

fdf13fb819 • Robin Voetter • Oct 4, 2021

big ints: Allow llmulaccum to wrap

41e9c1bac1 • Robin Voetter • Oct 4, 2021

big ints: Improve karatsuba multiplication

5907b3e383 • Robin Voetter • Oct 4, 2021

big.int: truncate tests

15351f206f • Robin Voetter • Oct 4, 2021

Adapt Value.intAddSat and intSubSat to new big int saturating functions

8701d8579d • Robin Voetter • Oct 4, 2021

Adapt Type.minInt and maxInt to use setTwosCompLimit

96f095987f • Robin Voetter • Oct 4, 2021

big ints: [add|sub]Sat tests

692827baa7 • Robin Voetter • Oct 4, 2021

big ints: [add|sub]Wrap tests

52721d3a7e • Robin Voetter • Oct 4, 2021

big ints: implement normal/wrapping/saturating subtraction in terms of addition

bb53f4f15a • Robin Voetter • Oct 4, 2021

big ints: saturating addition

16991f920b • Robin Voetter • Oct 4, 2021

big ints: setTwosCompIntLimit

f1b3a90ef6 • Robin Voetter • Oct 4, 2021

big ints: unify add/sub with their wrapping variants

dc1f698545 • Robin Voetter • Oct 4, 2021

big ints: Basic wrapping multiplication

a36ef84deb • Robin Voetter • Oct 4, 2021

Comptime wrapping addition/subtraction

69be6ba8ee • Robin Voetter • Oct 4, 2021

big ints: addWrap, subWrap + fix Managed.truncate allocation size

fdb37743fa • Robin Voetter • Oct 4, 2021

Update Value.intTrunc to use new big int truncate

a733692444 • Robin Voetter • Oct 4, 2021

big ints: 2s complement truncate

b58cf6dab6 • Robin Voetter • Oct 4, 2021

big ints: split lladd/llsub into carry variants

616b23c815 • Robin Voetter • Oct 4, 2021

C backend: improved Decl name lowering

c41b989ab8 • Andrew Kelley • Oct 4, 2021

C backend: fix lowering of struct types

a41f812bdb • Andrew Kelley • Oct 3, 2021

C backend: fix lowering of struct, float, and slice constants

c79bf18044 • Andrew Kelley • Oct 3, 2021

stage2: Type: fix eql impl for error unions

86c265aec8 • Andrew Kelley • Oct 3, 2021

AstGen: fix `while` and `for` with unreachable bodies

c4df9bf56f • Andrew Kelley • Oct 3, 2021

AstGen: fix if, orelse, catch, with unreachable bodies

61a53a5875 • Andrew Kelley • Oct 3, 2021

Merge pull request #9873 from SpexGuy/fix-struct-namespaces

ac52e00564 • Andrew Kelley • Oct 2, 2021

Document some functions in std.math.

4916e26be4 • Nathan Michaels • Oct 2, 2021

Merge pull request #9875 from g-w1/timestimes

468ed7ada5 • Andrew Kelley • Oct 2, 2021

Add zlib to needed libraries

05d36fce9c • Martin Wickham • Oct 2, 2021

build.zig: omit LLVMTableGen from the llvm lib list

49f687f7c6 • Andrew Kelley • Oct 2, 2021

build.zig: update list of LLVM libs

b9ec7c5675 • Andrew Kelley • Oct 2, 2021

Merge branch 'llvm13'

dde0adcb36 • Andrew Kelley • Oct 2, 2021

Fix a typo in @ceil documentation.

c4cd592f0e • Nathan Michaels • Oct 1, 2021

stage2: implement array_init instruction (#9843)

5e7406bdd9 • g-w1 • Sep 30, 2021

Add error message to test runner for bad arguments

c82c3585c8 • Martin Wickham • Sep 30, 2021

Add a panic handler to give better errors for crashes in sema

f87156e33c • Martin Wickham • Sep 30, 2021

parse.zig: better c pointer prefix parsing, don't index out of bounds on eof

2ed9288246 • Matthew Borkowski • Sep 30, 2021

stage2: fix ELF linking to include compiler_rt

ba7f40c430 • Andrew Kelley • Sep 29, 2021

stage2: LLVM backend: properly set module target data

bdbedff910 • Andrew Kelley • Sep 29, 2021

stage2: LLVM backend: implement struct type fwd decls

ea6706b6f4 • Andrew Kelley • Sep 29, 2021

move some behavior tests to the "passing for stage2" section

1d1f6a0421 • Andrew Kelley • Sep 29, 2021

Sema: generic function instantiations gain addrspace of owner Decl

b02932f96e • Andrew Kelley • Sep 29, 2021

stage2: put use_llvm and use_stage1 into the Module cache hash

4e85bf1185 • Andrew Kelley • Sep 29, 2021

stage2: enable building compiler_rt when using LLVM backend

99961f22dc • Andrew Kelley • Sep 29, 2021

stage2: implement `@clz` and `@ctz`

33e77f127d • Andrew Kelley • Sep 29, 2021

AstGen: improved logic for nodeMayNeedMemoryLocation

7efc2a0626 • Andrew Kelley • Sep 29, 2021

saturating arithmetic supports integers only

51a40f9a66 • Andrew Kelley • Sep 29, 2021

Merge pull request #9679 from travisstaloch/sat-arith-operators

cf90cb7218 • Andrew Kelley • Sep 29, 2021

stage2: more arithmetic support

79bc5891c1 • Andrew Kelley • Sep 28, 2021

deflate.zig: fix bits_left overflow at EndOfStream and @intCast truncation with empty Huffman table

1e805df81d • Matthew Borkowski • Sep 28, 2021

improve panic hierarchy by always using builtin.panic

754ea118bc • rgreenblatt • Sep 28, 2021

Stage 2: Support inst.func() syntax (#9827)

1cc5d4e758 • Martin Wickham • Sep 28, 2021

ci: fix typo introduced in earlier commit

60b6e74468 • Andrew Kelley • Sep 28, 2021

stage2: implement union coercion to its own tag

09e1f37cb6 • Andrew Kelley • Sep 28, 2021

ci: azure: run build steps independently to save ram

c2a7542df5 • Andrew Kelley • Sep 28, 2021

stage2: implement basic unions

c0aa4a1a42 • Andrew Kelley • Sep 28, 2021

Langref: fix HTML escaped symbol WASM JavaScript code example

25266d0804 • Mr. Paul • Sep 27, 2021

stage2: implement zirCoerceResultPtr

1f2f9f05c2 • Andrew Kelley • Sep 26, 2021

stage2: implement `@sizeOf` for non-packed structs

04366576ea • Andrew Kelley • Sep 26, 2021

os.flock: FreeBSD can return EOPNOTSUPP

15f55b2805 • xackus • Sep 25, 2021

stage2: implement `@memset` and `@memcpy` builtins

42aa1ea115 • Andrew Kelley • Sep 25, 2021

Initial bringup of the Solaris/Illumos port

87fd502fb6 • Stephen Gregoratto • Sep 24, 2021

Resolve scope IDs using IPv6 sockets

a032fd01e8 • Stephen Gregoratto • Sep 24, 2021

Fix error references across inline and comptime functions

1e7009a9d9 • Martin Wickham • Sep 24, 2021

stage2 codegen: move bit definitions to src/arch

8f58e2d779 • joachimschmidt557 • Sep 24, 2021

Spelling corrections (#9833)

664941bf14 • Josh Soref • Sep 24, 2021

stage2: enable building freestanding libc with LLVM backend

ef7fa76001 • Andrew Kelley • Sep 24, 2021

stage2: LLVM backend: improved naming and exporting

f215d98043 • Andrew Kelley • Sep 24, 2021

stage2: prepare for building freestanding libc

418105589a • Andrew Kelley • Sep 24, 2021

ci linux: bump qemu-6.1.0.1

cc4d38ed57 • Michael Dusan • Sep 24, 2021

Linux/sparc64 bits: Add missing C type definitions

bdbd060cc7 • Koakuma • Sep 23, 2021

Fix the failing "bad import" test on Windows

ef6fbbdab6 • Martin Wickham • Sep 23, 2021

Merge pull request #9825 from Snektron/big-int-signed-and-or

dd81a2147d • Andrew Kelley • Sep 23, 2021

Stage2: Implement comptime closures and the This builtin (#9823)

a0a847f2e4 • Martin Wickham • Sep 23, 2021

stage2: enhance `zig init-lib` and `zig init-exe`

f615648d7b • Hadrien Dorio • Sep 23, 2021

stage2: fix AstGen for some struct syntaxes

736d14fd5f • Andrew Kelley • Sep 23, 2021

Merge pull request #9717 from SpexGuy/stage2-start-windows

0ec01e58b4 • Andrew Kelley • Sep 23, 2021

tokenizer: Fix index-out-of-bounds on unfinished unicode escapes before EOF

3b09262c12 • Ryan Liptak • Sep 22, 2021

FIX resize() for non u8 element types. (#9806)

e14fcd60cb • Coleman Broaddus • Sep 22, 2021

big ints: 2s complement signed xor

4afe4bdfe7 • Robin Voetter • Sep 22, 2021

stage2: progress towards ability to compile compiler-rt

aecebf38ac • Andrew Kelley • Sep 22, 2021

stage2: fix unsigned integer to signed integer coercion

0e2b9ac777 • Andrew Kelley • Sep 22, 2021

stage2: enable f16 math

be71195bba • Andrew Kelley • Sep 22, 2021

io_uring: implement read_fixed/write_fixed

01f20c7f48 • Vincent Rischmann • Sep 22, 2021

std.build: fix handling of -Dcpu

8c86043178 • Isaac Freund • Sep 22, 2021

stage2: free Sema's arena after generating machine code

5913140b6b • Andrew Kelley • Sep 21, 2021

macho: fix incorrect segment/section growth calculation

affd8f8b59 • Jakub Konka • Sep 21, 2021

Merge pull request #9652 from g-w1/p9d

a2dd0c387d • Veikka Tuominen • Sep 21, 2021

macho: do not write temp and noname symbols to symtab

d722f0cc62 • Jakub Konka • Sep 21, 2021

Merge pull request #9797 from Vexu/stage2

5269cbea20 • Andrew Kelley • Sep 21, 2021

Merge pull request #9649 from Snektron/address-space

1ad905c71e • Andrew Kelley • Sep 21, 2021

tokenizer: Fix index-out-of-bounds on string_literal_backslash right before EOF

2a728f6e5f • Ryan Liptak • Sep 21, 2021

docgen: re-enable syntax checking for code blocks

380ca26855 • Mr. Paul • Sep 20, 2021

stage2: improve handling of 0 bit types

abc30f7948 • Andrew Kelley • Sep 20, 2021

stage2: implement comptime bitwise nand

4b2d7a9c67 • Andrew Kelley • Sep 20, 2021