Commit Graph
18 Commits
Author SHA1 Message Date
Wunkolo cbd9496143 block_class: Complete x86-SIMD
Accelerates `block_class_is_subset` with all available x86 simd features
up to AVX512.
2022-06-15 11:06:16 -07:00
WunkoloandNicolas F 4298aea569 Fix GCC signed-unsigned and pointer-warnings (#1608)
* Fix GCC signed-unsigned and pointer-warnings

A lot of the signed/unsigned issues are related to the fact that I converted
a lot of indexing values to use unsigned types, little did I know that a lot of
other values used when indexing actually come from the python-end. Python does
not have built-in unsigned types so all integers coming from Python are signed
implicitly so a lot of things like image-size and x, y coordiantes are specially
handling negative-integer cases.

Guess we'll just take our `int32_t i = 0; i < blah; ++i` and like it.

Code now compiles with no warnings or nagging.
2019-07-12 15:26:45 +02:00
Wunkolo 22840d5a97 Implement straggler standard integer types 2019-06-26 10:29:10 -07:00
Wunkolo 5b212dc585 Implement standard C boolean type 2019-06-25 14:19:12 -07:00
Wunkolo d738c21852 Propagate block, bool, standard integer types across codebase
Posix type integer pass

Propagate block, bool, integer types across codebase

Add standard integer types to prototypes
2019-06-25 11:56:11 -07:00
Wunkolo 8162f3f877 Add .clang_format
Also applies clang-format to the current code base, using command:
`find . -regex '.*\.\(c\|h\)' -exec clang-format -style=file -i {} \;`
2019-06-23 18:43:32 -07:00
Wunkolo 4b0b50f215 Implement style fixes 2019-03-18 14:04:36 -07:00
Wunkolo 62dcfab7a0 Fix block_class_is_subset linkage 2019-03-17 20:21:03 -07:00
Wunkolo 121b0d96ab Increment extension version 2019-03-17 18:48:06 -07:00
Wunkolo 26bd4d120a Fix implicit declaration 2019-03-17 18:46:45 -07:00
Wunkolo 1271772aa1 Collapse special case logic to block_class_is_subset
Thanks demorgan's law
2019-03-17 18:02:44 -07:00
Wunkolo 5ff6a6400e Convert case switch to block_class_is_subset 2019-03-17 17:57:18 -07:00
Wunkolo ee9a3411ba block_class_is_subset implementation pass 2019-03-17 17:33:30 -07:00
Wunkolo 2c3d54ea5d Implement block_class header 2019-03-17 15:09:33 -07:00
Wunkolo eb9d6a98e5 Increment overviewer extension version 2019-03-17 12:05:32 -07:00
Wunkolo 50f12827f5 Block ID enum pass 2019-03-16 22:42:08 -07:00
Wunkolo 4d4df31ece Block ID to mc_id replacement pass 2019-03-16 21:15:08 -07:00
Wunkolo 7e97544f4d First pass mc_id enum implementation 2019-03-16 20:21:44 -07:00