dev-2021-05 #933
gingerBill
started this conversation in
General
dev-2021-05
#933
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Compiler Changes
.ll
files and passed them to the LLVM binaries directlyllc
andopt
binaries-llvm-api
-target:darwin_arm64
-strict-style
style as default-strict-style
the default mode #871dev-yyyy-mm:sha
-build-mode
modes:llvm-ir
assembly
-o:<string>
flag as an alternative to-opt:<integer>
mininal
,size
, `speed-vet-extra
for extra vet checks (many usually false positives)-microarch:<string>
-disallow-do
-default-to-nil-allocator
ODIN_ROOT
environment variable to be able to change the root directory for the Odin root pathodin doc
-doc-format
Generates documentation as the .odin-doc format (useful for external tooling)-vet
Language Changes
#soa
types with afor
-in
loopsoa_zip
(generate #soa type from slices)soa_unzip
(generate slices from #soa type)make_soa
anddelete_soa
[]byte
andAllocator_Error
codeintrinsics.x86_mmx
#opaque
typesbit_field
typesbits.bitfield_extract
andbits.bitfield_insert
procedures located incore:math/bits
inline
andno_inline
with#force_inline
and#force_no_inline
, respectively#optional_ok
logic@(disabled)
@(cold)
@(optimization_mode=<string>)
f16
,f16le
,f16be
typesmin(T)
/max(T)
support whereT
is a floatstruct
comparable as long as all of its fields are comparablemap
ket type//+build ignore
tagpackage
Core Library Changes
New Packages
core:bufio
core:bytes
core:c/frontend/tokenizer
core:c/frontend/preprocessor
core:compress
core:compress/gzip
core:compress/zlib
core:image
core:image/png
core:io
core:math/fixed
core:path
(URI-like paths)core:path/filepath
(OS paths)core:slice
core:sort
core:text/scanner
Experimental Packages
core:sync/sync2
(will replacecore:sync
when finished)New Additions to
package intrinsics
volatile_load
volatile_store
debug_trap
trap
alloca
cpu_relax
read_cycle_counter
count_ones
count_zeros
count_trailing_zeros
count_leading_zeros
reverse_bits
byte_swap
overflow_add
overflow_sub
overflow_mul
expect
type_has_field
type_proc_parameter_count
type_proc_return_count
type_proc_parameter_type
type_proc_return_type
type_polymorphic_record_parameter_count
type_polymorphic_record_parameter_value
type_field_index_of
type_equal_proc
type_hasher_proc
This discussion was created from the release dev-2021-05.
Beta Was this translation helpful? Give feedback.
All reactions