Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: SIMD and other goodies #534

Draft
wants to merge 89 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
e6cd2eb
Vector indexing operations and empty vector constructor
HugoPeters1024 Oct 19, 2021
0c80d44
created empty vector lifted in Exp
HugoPeters1024 Oct 20, 2021
2c90dd5
Add implementation of empty vector and indexing
HugoPeters1024 Oct 26, 2021
74feaec
Add bounds check on vector index
HugoPeters1024 Oct 27, 2021
977669b
Fix vector creation (todo delete the prim const)
HugoPeters1024 Oct 28, 2021
dc7d849
implement interpreter and fix bugs
HugoPeters1024 Nov 2, 2021
3fe1e80
Remove vector create constant
HugoPeters1024 Nov 3, 2021
faa139b
add missing pattern match and module in cabal file
HugoPeters1024 Nov 4, 2021
0e250b8
Move vec operations to correct AST
HugoPeters1024 Dec 2, 2021
21d6dab
fix off by one errors
HugoPeters1024 Dec 8, 2021
ad1f995
style changes
HugoPeters1024 Dec 13, 2021
f9556e3
prevent memcpy using unsafe mutable coercion
HugoPeters1024 Jan 19, 2022
d957227
Merge branch 'vector-operations' of https://github.com/HugoPeters1024…
tmcdonell Mar 10, 2022
1eaa378
stack: update resolver
tmcdonell Mar 10, 2022
837c20c
add operations for 128-bit floating point numbers
tmcdonell Jun 7, 2022
dff0ba7
add basic types for single bits, bit vectors
tmcdonell Jun 7, 2022
69c36a0
fix to/fromList for BitMask
tmcdonell Jun 10, 2022
ac1aa94
add support for computation on SIMD types
tmcdonell Jun 11, 2022
30fa47e
stack/9.2: drop non-default flags
tmcdonell Jun 13, 2022
361582f
stack/8.10: update resolver
tmcdonell Jun 13, 2022
cdbeb0a
stack/9.0: update resolver
tmcdonell Jun 13, 2022
9c892b1
build fixes
tmcdonell Jun 13, 2022
0b769c6
doctest fixes
tmcdonell Jun 13, 2022
eacdced
add pattern synonyms for shape constructors
tmcdonell Jun 13, 2022
9d61a01
update CHANGELOG.md
tmcdonell Jun 13, 2022
007e3cd
test fixes
tmcdonell Jun 14, 2022
4b2c1d7
add COMPLETE pragmas
tmcdonell Jun 14, 2022
f390343
fix doctests
tmcdonell Jun 14, 2022
11829ff
drop ghc-8.6 as it crashes the compiler
tmcdonell Jun 15, 2022
7b614fc
fix pattern matching for bit tags
tmcdonell Jun 18, 2022
6a3234b
clean up constructor/enum tags
tmcdonell Jun 20, 2022
0b10e22
add vectorised min, max
tmcdonell Jun 26, 2022
ba107c8
value/expression polymorphic pattern synonyms for Vec
tmcdonell Jun 27, 2022
0c2b6c2
value/expression polymorphic pattern synonyms for tuples
tmcdonell Jun 27, 2022
eb62a0d
improve type checking for tuple patterns
tmcdonell Jun 28, 2022
68f7de7
more polymorphic pattern synonyms
tmcdonell Jun 28, 2022
7d4b276
fix doctests
tmcdonell Jun 28, 2022
d90ee51
build fixes
tmcdonell Jun 28, 2022
53019c8
build fix
tmcdonell Jun 30, 2022
1d16894
warning police
tmcdonell Jun 30, 2022
c1a32fe
warning police
tmcdonell Jun 30, 2022
f5482d8
build fix
tmcdonell Jun 30, 2022
63a0bb7
be a bit smarter
tmcdonell Aug 31, 2022
13c835c
add Integral instances for vector types
tmcdonell Aug 31, 2022
8ea3e51
copy-pasta error
tmcdonell Aug 31, 2022
0b51562
drop unused file
tmcdonell Aug 31, 2022
fdac92f
vectorise type of smart constructors for logical operations
tmcdonell Aug 31, 2022
31b8fba
NOTE
tmcdonell Aug 31, 2022
1d1eacf
vectorised RealFloat
tmcdonell Sep 20, 2022
6f3376e
updates for vectorised RealFloat
tmcdonell Sep 21, 2022
00819a2
pack BitMask densely rather than being byte-aligned
tmcdonell Sep 29, 2022
4d3bd0c
nofib build fix
tmcdonell Sep 29, 2022
9700467
export strict (&&!) and (||!)
tmcdonell Oct 1, 2022
86fd7fa
export 128-bit types
tmcdonell Oct 1, 2022
9fe3290
export operators on SIMD vectors
tmcdonell Oct 1, 2022
2591910
add conversion between bool and integral types
tmcdonell Oct 3, 2022
6e8897e
export vector splat
tmcdonell Oct 3, 2022
3ddaed9
fix FromBool
tmcdonell Oct 3, 2022
8a09b11
add vand, vor operators
tmcdonell Oct 3, 2022
eb77713
export vnot, &&*, ||*
tmcdonell Oct 3, 2022
fe8a0c8
fix Ord instance for Vec
tmcdonell Oct 3, 2022
4bebdae
arbitrary width signed and unsigned integers
tmcdonell May 16, 2023
b70d5cc
actually unsafe coerce
tmcdonell May 16, 2023
d50e6de
rename Coerce to Bitcast
tmcdonell May 16, 2023
6830362
use associated data family
tmcdonell May 16, 2023
72ef2df
unused imports
tmcdonell May 16, 2023
4db6544
fix vand & vor for non-power-of-two vecs
tmcdonell May 16, 2023
c3fd071
Merge branch 'master' into wip/type-hierarchy
tmcdonell May 16, 2023
c4d95c6
Merge branch 'master' into wip/type-hierarchy
tmcdonell Jul 24, 2023
34f05d4
ci: don't run haddock on windows
tmcdonell Aug 14, 2023
ab6b6fa
add cc-options -std=c11
tmcdonell Aug 14, 2023
0dcd2e3
updates for ghc-9.6
tmcdonell Aug 14, 2023
789d744
Haddock documentation not handled by Template Haskell until GHC-9
tmcdonell Aug 14, 2023
8fa7494
OPTIONS_HADDOCK hide
tmcdonell Aug 14, 2023
165f317
warning police
tmcdonell Aug 18, 2023
1e07380
cleaning up smart constructor cruft
tmcdonell Aug 21, 2023
d11f98c
add more [SIMD vector] primops
tmcdonell Aug 21, 2023
8fbf661
copy pasta error
tmcdonell Aug 28, 2023
673cc77
show instance for TupR
tmcdonell Aug 28, 2023
a9f062e
coerce arrays between different types
tmcdonell Aug 28, 2023
ac5ff61
minor cleanup
tmcdonell Aug 29, 2023
2c4008f
build fix for ghc < 9.4
tmcdonell Aug 30, 2023
73c2e98
export acoerceOp
tmcdonell Sep 9, 2023
671a782
what was I thinking?
tmcdonell Sep 12, 2023
03a0b60
update acoerceOp
tmcdonell Sep 28, 2023
934a12f
fix undef size computation
tmcdonell Sep 28, 2023
cefdcec
export pack, unpack
tmcdonell Sep 28, 2023
308fed4
embedding polymorphic Complex constructor
tmcdonell Sep 28, 2023
2784ec6
embedding polymorphic containers from Monoid & Semigroup
tmcdonell Oct 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
stack/9.0: update resolver
tmcdonell committed Jun 13, 2022
commit cdbeb0a8b2d2c306a9592f907a9dd5fd20aab7e9
2 changes: 1 addition & 1 deletion stack-9.0.yaml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
# For advanced use and comprehensive documentation of the format, please see:
# https://docs.haskellstack.org/en/stable/yaml_configuration/

resolver: nightly-2022-03-10
resolver: lts-19.11

packages:
- .