/[svn]/linuxsampler/trunk/src/common/global_private.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global_private.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3454 by schoenebeck, Fri Apr 22 15:37:45 2016 UTC revision 3455 by persson, Sun Jan 27 10:07:54 2019 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2016 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2019 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 51  typedef int16_t sample_t; Line 51  typedef int16_t sample_t;
51  // macro to check for a certain version (or newer) of GCC  // macro to check for a certain version (or newer) of GCC
52  #define GNUC_VERSION_PREREQ(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))  #define GNUC_VERSION_PREREQ(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
53    
54  // macro which checks if GCC vector extensions are avialable  #if ( GNUC_VERSION_PREREQ(3,3) && ( defined(__i386__) || defined(__x86_64__) || defined(_ARCH_PPC) ) )
55  #define HAVE_GCC_VECTOR_EXTENSIONS ( GNUC_VERSION_PREREQ(3,3) && ( defined(__i386__) || defined(__x86_64__) || defined(_ARCH_PPC) ) )  #define HAVE_GCC_VECTOR_EXTENSIONS 1
56    #endif
57    
58  #if HAVE_GCC_VECTOR_EXTENSIONS  #if HAVE_GCC_VECTOR_EXTENSIONS
59  // v4sf is used by some routines that make use of GCC vector extensions (ie AudioChannel.cpp)  // v4sf is used by some routines that make use of GCC vector extensions (ie AudioChannel.cpp)

Legend:
Removed from v.3454  
changed lines
  Added in v.3455

  ViewVC Help
Powered by ViewVC