diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-29 10:00:56 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-29 10:00:56 +0200 |
| commit | 38014615238a51f1c0c1f2f96d37cbfbf765520a (patch) | |
| tree | 24fff81dd4692ba91b96dd0ab099e043b7108824 /src/arch/common.h | |
| parent | 1d93860c6f6d3fdbdddabdcd870ef0f8b6e47c81 (diff) | |
| download | nissy-core-38014615238a51f1c0c1f2f96d37cbfbf765520a.tar.gz nissy-core-38014615238a51f1c0c1f2f96d37cbfbf765520a.zip | |
Optimized some coordinates
Diffstat (limited to 'src/arch/common.h')
| -rw-r--r-- | src/arch/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/common.h b/src/arch/common.h index 922ea51..3e7867d 100644 --- a/src/arch/common.h +++ b/src/arch/common.h | |||
| @@ -37,6 +37,11 @@ STATIC_INLINE void set_eo(cube_t [static 1], int64_t); | |||
| 37 | STATIC_INLINE void invcoord_esep_array(int64_t, int64_t, uint8_t[static 12]); | 37 | STATIC_INLINE void invcoord_esep_array(int64_t, int64_t, uint8_t[static 12]); |
| 38 | STATIC_INLINE cube_t invcoord_eoesep(int64_t); | 38 | STATIC_INLINE cube_t invcoord_eoesep(int64_t); |
| 39 | 39 | ||
| 40 | STATIC_INLINE int64_t coord_cp(cube_t); | ||
| 41 | STATIC_INLINE cube_t invcoord_cp(int64_t); | ||
| 42 | STATIC_INLINE int64_t coord_epud(cube_t); | ||
| 43 | STATIC_INLINE cube_t invcoord_epud(int64_t); | ||
| 44 | |||
| 40 | STATIC_INLINE void | 45 | STATIC_INLINE void |
| 41 | invcoord_esep_array(int64_t set1, int64_t set2, uint8_t mem[static 12]) | 46 | invcoord_esep_array(int64_t set1, int64_t set2, uint8_t mem[static 12]) |
| 42 | { | 47 | { |
