Browse Source

Fixed some documentation typos

tags/2021-05-28
ed 6 years ago
parent
commit
5360191737
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_dsp/containers/juce_SIMDRegister.h

+ 3
- 3
modules/juce_dsp/containers/juce_SIMDRegister.h View File

@@ -50,9 +50,9 @@ namespace dsp
the individual elements. the individual elements.
If you are using SIMDRegister as a pointer, then you must ensure that the If you are using SIMDRegister as a pointer, then you must ensure that the
memory is suffeciently aligned for SIMD vector operations. Failing to do so
memory is sufficiently aligned for SIMD vector operations. Failing to do so
will result in crashes or very slow code. Use SIMDRegister::isSIMDAligned will result in crashes or very slow code. Use SIMDRegister::isSIMDAligned
to query if a pointer is suffeciently aligned for SIMD vector operations.
to query if a pointer is sufficiently aligned for SIMD vector operations.
Note that using SIMDRegister without enabling optimizations will result Note that using SIMDRegister without enabling optimizations will result
in code with very poor performance. in code with very poor performance.
@@ -341,7 +341,7 @@ struct SIMDRegister
} }
//============================================================================== //==============================================================================
/** Checks if the given pointer is suffeciently aligned for using SIMD operations. */
/** Checks if the given pointer is sufficiently aligned for using SIMD operations. */
static inline bool isSIMDAligned (const ElementType* ptr) noexcept static inline bool isSIMDAligned (const ElementType* ptr) noexcept
{ {
uintptr_t bitmask = SIMDRegisterSize - 1; uintptr_t bitmask = SIMDRegisterSize - 1;


Loading…
Cancel
Save