Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 434864
Collapse All | Expand All

(-)gcc-4.7.1/libitm/config/x86/x86_avx.cc (-2 / +2 lines)
Lines 29-35 Link Here
29
extern "C" {
29
extern "C" {
30
#ifndef HAVE_AS_AVX
30
#if !defined(HAVE_AS_AVX) || !defined(__AVX__)
31
// If we don't have an AVX capable assembler, we didn't set -mavx on the
31
// If we don't have an AVX capable assembler, we didn't set -mavx on the
32
// command-line either, which means that libitm.h defined neither this type
32
// command-line either, which means that libitm.h defined neither this type
33
// nor the functions in this file.  Define the type and unconditionally
33
// nor the functions in this file.  Define the type and unconditionally
Lines 40-46 Link Here
40
// Re-define the memcpy implementations so that we can frob the
40
// Re-define the memcpy implementations so that we can frob the
41
// interface to deal with possibly missing AVX instruction set support.
41
// interface to deal with possibly missing AVX instruction set support.
42
#ifdef HAVE_AS_AVX
42
#if defined(HAVE_AS_AVX) && defined(__AVX__)
43
#define RETURN(X)      return X
43
#define RETURN(X)      return X
44
#define STORE(X,Y)     X = Y
44
#define STORE(X,Y)     X = Y
45
#define OUTPUT(T)      _ITM_TYPE_##T
45
#define OUTPUT(T)      _ITM_TYPE_##T

Return to bug 434864