aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/h48/gendata_h48.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-16 11:46:33 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-16 11:46:38 +0200
commitf9570e5089eeabe32be84ab0507c1d9df99650af (patch)
treea7e89e26b84d833fcc29fecc19d5e6f6c61af3e6 /src/solvers/h48/gendata_h48.h
parent7c994d0ee99d8b69bf958f1559db3a294f459e3e (diff)
downloadnissy-core-f9570e5089eeabe32be84ab0507c1d9df99650af.tar.gz
nissy-core-f9570e5089eeabe32be84ab0507c1d9df99650af.zip
Removed redundant coordinate computation
Diffstat (limited to 'src/solvers/h48/gendata_h48.h')
-rw-r--r--src/solvers/h48/gendata_h48.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h
index 4400011..55c4f34 100644
--- a/src/solvers/h48/gendata_h48.h
+++ b/src/solvers/h48/gendata_h48.h
@@ -24,8 +24,6 @@ STATIC_INLINE uint8_t get_h48_pval_atomic(
24 _Atomic const uint8_t *, int64_t, uint8_t); 24 _Atomic const uint8_t *, int64_t, uint8_t);
25STATIC_INLINE void set_h48_pval_atomic( 25STATIC_INLINE void set_h48_pval_atomic(
26 _Atomic uint8_t *, int64_t, uint8_t, uint8_t); 26 _Atomic uint8_t *, int64_t, uint8_t, uint8_t);
27STATIC_INLINE uint8_t get_h48_bound(
28 cube_t, uint32_t, uint8_t, uint8_t, const uint8_t *);
29 27
30size_t gendata_h48_derive(uint8_t, const void *, void *); 28size_t gendata_h48_derive(uint8_t, const void *, void *);
31 29
@@ -686,20 +684,6 @@ set_h48_pval_atomic(_Atomic uint8_t *table, int64_t i, uint8_t k, uint8_t val)
686 | (val << H48_SHIFT(i, k)); 684 | (val << H48_SHIFT(i, k));
687} 685}
688 686
689STATIC_INLINE uint8_t
690get_h48_bound(
691 cube_t cube,
692 uint32_t cdata,
693 uint8_t h,
694 uint8_t k,
695 const uint8_t *table
696) {
697 int64_t coord;
698
699 coord = coord_h48_edges(cube, COCLASS(cdata), TTREP(cdata), h);
700 return get_h48_pval(table, coord, k);
701}
702
703size_t 687size_t
704gendata_h48_derive(uint8_t h, const void *fulltable, void *buf) 688gendata_h48_derive(uint8_t h, const void *fulltable, void *buf)
705{ 689{

Generated with cgit - Back to sebastiano.tronto.net