Improve the detection of sparc

This commit is contained in:
Sylvestre Ledru 2012-07-02 02:51:38 +02:00
parent 4b7677a916
commit 3692b4d631
2 changed files with 2 additions and 2 deletions

View File

@ -1128,7 +1128,7 @@ static BLASULONG init_lock = 0UL;
static void _touch_memory(blas_arg_t *arg, BLASLONG *range_m, BLASLONG *range_n,
void *sa, void *sb, BLASLONG pos) {
#ifndef ARCH_POWER
#if !defined(ARCH_POWER) && !defined(ARCH_SPARC)
long size;
BLASULONG buffer;

View File

@ -1482,7 +1482,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define GEMM_THREAD gemm_thread_mn
#endif
#if defined(SPARC) && defined(V9)
#if (defined(SPARC) && defined(V9)) || defined(__sparc_v9__)
#define SNUMOPT 2
#define DNUMOPT 2