summaryrefslogtreecommitdiff
path: root/gcell/src/include
diff options
context:
space:
mode:
authoreb2008-05-04 06:45:19 +0000
committereb2008-05-04 06:45:19 +0000
commitd5e5244a9ce8c5c3847c133c1107fba2af0e90c3 (patch)
tree3e4c894861ad17e9a7fd37416126fb69cef26983 /gcell/src/include
parentb1f675f291e9bcae640bd6fcb6707d50951f0268 (diff)
downloadgnuradio-d5e5244a9ce8c5c3847c133c1107fba2af0e90c3.tar.gz
gnuradio-d5e5244a9ce8c5c3847c133c1107fba2af0e90c3.tar.bz2
gnuradio-d5e5244a9ce8c5c3847c133c1107fba2af0e90c3.zip
Merged eb/gcell-wip -r8302:8307 into trunk. This changeset includes
an example of SPE assembler (memset.S), a new file of macros for use with SPE assembler (gc_spu_macs.h), and an extended QA framework. The easy to use QA framework adds support for SPE utility code that's usually not called from the PPE, such as memset. See qa_gcell_general.{h,cc} and qa_memset.c for example usage. memset achieves 44GB/s on the SPE. That's within 3% of ideal. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8308 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gcell/src/include')
-rw-r--r--gcell/src/include/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcell/src/include/compiler.h b/gcell/src/include/compiler.h
index 74a9739f8..5f1c99c58 100644
--- a/gcell/src/include/compiler.h
+++ b/gcell/src/include/compiler.h
@@ -30,6 +30,8 @@
#define _AL16 __attribute__((aligned (16)))
#define _AL128 __attribute__((aligned (128)))
+#define _UNUSED __attribute__((unused))
+
#ifndef likely
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)