changeset 443:50ef76a39944

overlay worked... in -O0 only.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 25 Sep 2009 04:53:02 +0900
parents 95a856a2d552
children bd81b461d2fc
files example/get_segment/README example/get_segment/spe/Makefile
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/example/get_segment/README	Fri Sep 25 04:40:31 2009 +0900
+++ b/example/get_segment/README	Fri Sep 25 04:53:02 2009 +0900
@@ -14,3 +14,8 @@
 ld.script.ed は、なんらかのプログラムで生成する。
 
 なんか、spe manager だけで100kもあるんだけど。
+
+Fri Sep 25 04:47:45 JST 2009
+
+ふーむ、なんか、動いたけど、-O2 だと動かない。なんか、
+同期が必要なのか?
--- a/example/get_segment/spe/Makefile	Fri Sep 25 04:40:31 2009 +0900
+++ b/example/get_segment/spe/Makefile	Fri Sep 25 04:53:02 2009 +0900
@@ -9,7 +9,7 @@
 
 CC      = spu-g++
 INCLUDE = -I../${CERIUM}/include/TaskManager -I. -I..
-CFLAGS  = $(INCLUDE) -O2 -g -Wall -fno-exceptions -fno-rtti#-DDEBUG
+CFLAGS  = $(INCLUDE) -O0 -g -Wall -fno-exceptions -fno-rtti#-DDEBUG
 # CFLAGS  = -DNO_OVERLAY=1 $(CFLAGS)
  
 LIBS = -L../${CERIUM}/TaskManager -lspemanager  -Wl,--gc-sections