annotate example/get_segment/README @ 1615:2c6e9ed9db3b draft

merge
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 14 May 2013 13:38:17 +0900
parents c95d9b86bf1f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
354
cfd20d609ace add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
1
426
69e32bb76373 minor fix.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 391
diff changeset
2 - 概要
354
cfd20d609ace add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
3
905
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
4 Mon Jul 19 19:39:21 JST 2010
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
5
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
6 overlay を使わずに、単独で link 出来ないの?
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
7
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
8 文字列の相対アクセスの問題も...
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
9
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
10 printf は SchedTask.cc で実行されるから、task_list から
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
11 offset を知ることは可能なはず。(どうやって?)
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
12 get_segment - vma で良いのかな?
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
13
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
14 でも、それは実行時にしか出来ないのか。
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
15
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
16 org 0 でlink出来ればね。
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
17
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
18 spu-gcc Task.cc
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
19
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
20 で、compile 出来るようにしてしまう?
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
21
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
22 でも、そうするとdebugが不可能になるけど? いや、今でも不可能なんだよね。
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
23
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
24 だから、良いってわけ? まぁねぇ。
c95d9b86bf1f comments
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 465
diff changeset
25
433
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
26 Thu Sep 24 20:58:07 JST 2009
354
cfd20d609ace add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
27
433
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
28 Overly の例題
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
29
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
30 get_segment を使うのだが、load のsize がまちまちなので、それを
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
31 別に扱う必要がある。
354
cfd20d609ace add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
32
433
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
33 それから、olvy 領域は一つは取られてしまうので、それを一つ確保
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
34 する必要がある。うんぬん...
354
cfd20d609ace add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
35
433
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
36 ld.script.ed は、なんらかのプログラムで生成する。
354
cfd20d609ace add example/get_segment and change spe/DrawSpan.cpp
koba
parents:
diff changeset
37
433
19c7c7cb02bf overlay (on going)..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 426
diff changeset
38 なんか、spe manager だけで100kもあるんだけど。
443
3ff80f695e9d overlay worked... in -O0 only.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 433
diff changeset
39
3ff80f695e9d overlay worked... in -O0 only.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 433
diff changeset
40 Fri Sep 25 04:47:45 JST 2009
3ff80f695e9d overlay worked... in -O0 only.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 433
diff changeset
41
3ff80f695e9d overlay worked... in -O0 only.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 433
diff changeset
42 ふーむ、なんか、動いたけど、-O2 だと動かない。なんか、
3ff80f695e9d overlay worked... in -O0 only.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 433
diff changeset
43 同期が必要なのか?
465
3aaa9da117f4 fix get_segement
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 443
diff changeset
44
3aaa9da117f4 fix get_segement
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 443
diff changeset
45 Wed Sep 30 11:35:36 JST 2009
3aaa9da117f4 fix get_segement
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 443
diff changeset
46
3aaa9da117f4 fix get_segement
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 443
diff changeset
47 なんか、あんまりよろしくないな〜 $pc relative なaddress 計算が
3aaa9da117f4 fix get_segement
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 443
diff changeset
48 ないのね。