Mercurial > hg > CbC > old > device
diff Changes @ 672:3f559c67bc86
*** empty log message ***
author | kono |
---|---|
date | Sat, 05 May 2007 03:39:29 +0900 |
parents | 7c42cf329666 |
children | 68d70527b0c0 |
line wrap: on
line diff
--- a/Changes Thu May 03 09:08:24 2007 +0900 +++ b/Changes Sat May 05 03:39:29 2007 +0900 @@ -9232,3 +9232,30 @@ まぁ、のりの問題だがな。 64bit 対応をどうするんだろう? + +Fri May 4 20:07:59 JST 2007 + +なるほど。PS3 だと、register に乗った引数の分は、スタックが +取られてない。だから、bl regsiter_save する前に、stack を +移動する必要がある。 + +Breakpoint 3, 0x1000068c in i50 () +(gdb) x/20x $r1 +0xff9e00f0: 0xff9e0320 0x10001280 0x00000008 0x00000009 +0xff9e0100: 0x0000000a 0x0000000b 0x0000000c 0x0000000d +0xff9e0110: 0x0000000e 0x0000000f 0x00000010 0x00000011 +0xff9e0120: 0x00000012 0x00000013 0x00000014 0x00000015 +0xff9e0130: 0x00000016 0x00000017 0x00000018 0x00000019 +(gdb) q + +そうすると、浮動小数点の場合は... + +Sat May 5 03:32:27 JST 2007 + + +dofor で、docomp で、RC を読んだときに、{...} k++; で、k を +既に読んでしまっている。その後に、leave_scope しても、current nptr +は、update されない。なので、leave_scope 中で、nptr を書き換える必要がある。 + + +