summaryrefslogtreecommitdiff
path: root/liboil/i386_amd64
diff options
context:
space:
mode:
authorDavid Schleef <ds@ginger.bigkitten.com>2008-02-25 19:51:52 -0800
committerDavid Schleef <ds@ginger.bigkitten.com>2008-02-25 19:51:52 -0800
commitc77faaaa2fc48586902878ba33bd01286654dcb6 (patch)
tree28b4d45716a64ea64401670b055f8e82b0258b76 /liboil/i386_amd64
parentdbd39644025946a11d659def5b8ae627af8c393b (diff)
downloadliboil-c77faaaa2fc48586902878ba33bd01286654dcb6.tar.gz
Add workaround for older versions of gas that don't have SSSE3 support
Diffstat (limited to 'liboil/i386_amd64')
-rw-r--r--liboil/i386_amd64/mas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/liboil/i386_amd64/mas.c b/liboil/i386_amd64/mas.c
index 20d4d2f..8a30a78 100644
--- a/liboil/i386_amd64/mas.c
+++ b/liboil/i386_amd64/mas.c
@@ -735,6 +735,7 @@ mas8_u8_sym_mmx_5 (uint8_t *d, const uint8_t *s1_np7, const int16_t *s2_8,
}
OIL_DEFINE_IMPL_FULL (mas8_u8_sym_mmx_5, mas8_u8_sym_l15, OIL_IMPL_FLAG_MMX|OIL_IMPL_FLAG_MMXEXT);
+#ifdef HAVE_SSSE3_ASM
void
mas8_u8_sym_mmx_6 (uint8_t *d, const uint8_t *s1_np7, const int16_t *s2_8,
const int16_t *s3_2, int n)
@@ -798,6 +799,7 @@ mas8_u8_sym_mmx_6 (uint8_t *d, const uint8_t *s1_np7, const int16_t *s2_8,
: "ecx");
}
OIL_DEFINE_IMPL_FULL (mas8_u8_sym_mmx_6, mas8_u8_sym_l15, OIL_IMPL_FLAG_MMX|OIL_IMPL_FLAG_MMXEXT|OIL_IMPL_FLAG_SSSE3);
+#endif
#ifdef ENABLE_BROKEN_IMPLS
/* This only works for the taps array: -1, 3, -7, 21, 21, -7, 3, -1 */