Skip to content

Commit

Permalink
Double sized registers
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Jul 18, 2023
1 parent e0d33d2 commit c859147
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- 'master'
- 'NewFastSIMD'
paths-ignore:
- 'NoiseTool/**'
- '.github/**'
Expand Down
6 changes: 3 additions & 3 deletions include/FastNoise/Generators/Generator.inl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

using namespace FastNoise;

using float32v = FS::NativeRegister<float>;
using int32v = FS::NativeRegister<std::int32_t>;
using mask32v = FS::NativeRegister<FS::Mask<32>>;
using float32v = FS::Register<float, NativeRegisterCount<float>() * 2>;
using int32v = FS::Register<std::int32_t, NativeRegisterCount<std::int32_t>() * 2>;
using mask32v = typename float32v::MaskType;

template<FastSIMD::FeatureSet SIMD>
class FastSIMD::DispatchClass<FastNoise::Generator, SIMD> : public virtual FastNoise::Generator
Expand Down

0 comments on commit c859147

Please sign in to comment.