skyeye-developer Mailing List for SkyEye (Page 6)
a very fast full system simulator
Status: Beta
Brought to you by:
kangsh
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
(23) |
Dec
(12) |
2012 |
Jan
(4) |
Feb
(4) |
Mar
(12) |
Apr
(21) |
May
(1) |
Jun
|
Jul
|
Aug
(12) |
Sep
(3) |
Oct
|
Nov
(4) |
Dec
(2) |
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
(7) |
May
(1) |
Jun
(11) |
Jul
|
Aug
|
Sep
(5) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Alloc Y. <all...@gm...> - 2011-11-07 14:21:35
|
On 11/7/11, Michael.Kang <bla...@gm...> wrote: > 2011/11/6 Alloc Young <all...@gm...>: >> add xx >> bltz a >> add >> sub >> 疑问: >> 1.mips的delay slot是指分支之后的那条指令吗? > 是的 > >> 2.mips的delay >> slot是先于跳转指令执行的,是不是应该先翻译延迟槽内的指令在翻译跳转指令?但是我看下面这段代码好像不是这样的,不知道为什么? > > 是先翻译的延迟槽指令,你可以看一下else那个分支代码如下,先加了pc,然后翻译了延迟槽的指令。 >> // cur_bb: instr; delay; goto bb_target; >> pc += cpu->f.translate_instr(cpu, pc, cur_bb); >> cpu->f.translate_instr(cpu, pc, cur_bb); > 至于if的那个分支, 应该先翻译条件码,再翻译延迟槽的指令。 >> if (tag & TAG_CONDITIONAL) { >> addr_t delay_pc; >> // cur_bb: if (cond) goto b_cond; else goto bb_delay; >> Value *c = cpu->f.translate_cond(cpu, pc, cur_bb); //这里是翻译条件 >> if((tag & TAG_END_PAGE) && !is_user_mode(cpu)){ >> emit_store_pc_cond(cpu, tag, c, cur_bb, next_pc); >> BranchInst::Create(bb_cond, bb_ret, c, cur_bb); >> } >> else >> BranchInst::Create(bb_cond, bb_delay, c, cur_bb); //这里说条件成立,>>跳转进入bb_cond,否则的话进入bb_delay分支,对应的是不是跳转部分和顺序执行部分吧? >> // bb_cond: instr; delay; goto bb_target; >> pc += cpu->f.translate_instr(cpu, pc, bb_cond);//这里是翻译的指令是当前pc指令,对应的是跳转分支本身那条指令吗?翻译之后再加了个4,pc指向下一条指令即延迟槽那条指令 >> delay_pc = pc; >> cpu->f.translate_instr(cpu, pc, bb_cond);//这里翻译的是延迟槽指令?? >> BranchInst::Create(bb_target, bb_cond);//这里是跳转到目标位置的bb >> // bb_cond: delay; goto bb_next; >> cpu->f.translate_instr(cpu, delay_pc, bb_delay);//这里是翻译顺序执行部分的指令,也就是延迟槽那条指令? >> BranchInst::Create(bb_next, bb_delay);//然后跳转到分支指令的的下一个BB >> 3.关于跳转指令的加下来那个next >> bb是从延迟槽后面的那边指令开始算还是从延迟槽那条指令开始算?我觉得应该是从延迟槽后面的那条开始算,但是我看代码获取tag的时候next_pc >> 都是直接指向延迟槽那条指令的 > 条件不成立时,顺序执行的那个next BB,应该是先从延迟槽指令执行,再执行那条跳转指令。和你理解的应该是一样的。 >>int arch_mips_tag_instr(cpu_t *cpu, addr_t phys_pc, tag_t *tag, addr_t *new_pc, addr_t *next_pc) { >> int instr_size = 4; >> uint32_t instr; >> bus_read(32, phys_pc, &instr); >> mips_opc_func_t *opc_func = mips_get_opc_func(instr); >> if(!opc_func) >> BAD_INSTR >> assert(opc_func->tag != NULL); >> opc_func->tag(cpu, instr, phys_pc, tag, new_pc, next_pc); >> *next_pc = phys_pc + instr_size;//这里next_pc指向下一条指令 >> if(*tag & TAG_DELAY_SLOT) //对延迟槽进行了特殊处理,在原来的基础再加4,相当于跳转分支那条pc + 8,这个是不是说明跳转分支顺序执行的接下来那个bb是从这里开始的? >> *next_pc += 4; >> return instr_size; >>} > > 另外下次发邮件,请直接发在我们的邮件列表上sky...@li... > > Thanks > MK > > -- > www.skyeye.org > |
From: Michael.Kang <bla...@gm...> - 2011-11-07 02:45:47
|
2011/11/6 Alloc Young <all...@gm...>: > add xx > bltz a > add > sub > 疑问: > 1.mips的delay slot是指分支之后的那条指令吗? 是的 > 2.mips的delay slot是先于跳转指令执行的,是不是应该先翻译延迟槽内的指令在翻译跳转指令?但是我看下面这段代码好像不是这样的,不知道为什么? 是先翻译的延迟槽指令,你可以看一下else那个分支代码如下,先加了pc,然后翻译了延迟槽的指令。 > // cur_bb: instr; delay; goto bb_target; > pc += cpu->f.translate_instr(cpu, pc, cur_bb); > cpu->f.translate_instr(cpu, pc, cur_bb); 至于if的那个分支, 应该先翻译条件码,再翻译延迟槽的指令。 > 3.关于跳转指令的加下来那个next > bb是从延迟槽后面的那边指令开始算还是从延迟槽那条指令开始算?我觉得应该是从延迟槽后面的那条开始算,但是我看代码获取tag的时候next_pc > 都是直接指向延迟槽那条指令的 条件不成立时,顺序执行的那个next BB,应该是先从延迟槽指令执行,再执行那条跳转指令。和你理解的应该是一样的。 另外下次发邮件,请直接发在我们的邮件列表上sky...@li... Thanks MK > > if (tag & TAG_DELAY_SLOT) { > if (tag & TAG_CONDITIONAL) { > addr_t delay_pc; > // cur_bb: if (cond) goto b_cond; else goto bb_delay; > Value *c = cpu->f.translate_cond(cpu, pc, cur_bb); > BranchInst::Create(bb_cond, bb_delay, c, cur_bb); > // bb_cond: instr; delay; goto bb_target; > pc += cpu->f.translate_instr(cpu, pc, bb_cond); > delay_pc = pc; > cpu->f.translate_instr(cpu, pc, bb_cond); > BranchInst::Create(bb_target, bb_cond); > // bb_cond: delay; goto bb_next; > cpu->f.translate_instr(cpu, delay_pc, bb_delay); > BranchInst::Create(bb_next, bb_delay); > } else { > // cur_bb: instr; delay; goto bb_target; > pc += cpu->f.translate_instr(cpu, pc, cur_bb); > cpu->f.translate_instr(cpu, pc, cur_bb); > BranchInst::Create(bb_target, cur_bb); > } > return NULL; /* don't link */ > } > -- www.skyeye.org |
From: Michael.Kang <bla...@gm...> - 2011-10-31 01:49:12
|
我们现在已经比qemu快很多了。你可以先通过邮件列表跟一下我们的patch。加入邮件列表的地址如下: https://lists.sourceforge.net/lists/listinfo/skyeye-patch 然后可以看一下性能测试那一章: https://sourceforge.net/apps/mediawiki/skyeye/index.php?title=SkyEye_Testing_Manual 你可以自己先初步编写一些性能测试用例,比如冒泡排序等,编译成arm的静态链接的程序。在SkyEye和Qemu上比较一下运行时间。 -- 康烁 2011/10/30 Alloc Young <all...@gm...>: > 最近看到skyeye项目采用了动态翻译技术,很先进啊,很想自己学习下,但是不知道从哪里开始。我想加入到skyeye项目的开发中来,不知道从哪里开始着手,万望烁哥指点迷津,多谢! > -- www.skyeye.org |
From: Michael.Kang <bla...@gm...> - 2011-09-07 03:15:53
|
Please use mingw environment under windows platform. The instruction is as the following: http://sourceforge.net/apps/mediawiki/skyeye/index.php?title=How_to_Join_SkyEye_Development#3._Setup_your_development_environment Thanks MK 2011/9/5 diandian.yong <dia...@16...>: > I am a student of a research laboratory,and I want to use the skyeye to > research our embedded operating system. I also want to try to expand it. But > the first step for installing the skyeye is very hard for me. I use the > cygwin to install skyeye on windows xp. I can configure it, but when i make > it, I come across the same question: > make[2]: *** [skyeye_net_vnet.lo] Error1 > make[2]: leaving directory '/cygdrive/d/cygwin/home/skyeye/device' > make[1]: *** [all-recursive] Error 1 > make[1]: leaving directory '/cygdrive/d/cygwin/home/skyeye/skyeye' > make: *** [all] Error 2 > my english is poor,so, i may not express clearly.But, i need the help > eagerly.Thank you. > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Skyeye-developer mailing list > Sky...@li... > https://lists.sourceforge.net/lists/listinfo/skyeye-developer > > -- www.skyeye.org |
From: diandian.yong <dia...@16...> - 2011-09-05 11:50:15
|
I am a student of a research laboratory,and I want to use the skyeye to research our embedded operating system. I also want to try to expand it. But the first step for installing the skyeye is very hard for me. I use the cygwin to install skyeye on windows xp. I can configure it, but when i make it, I come across the same question: make[2]: *** [skyeye_net_vnet.lo] Error1 make[2]: leaving directory '/cygdrive/d/cygwin/home/skyeye/device' make[1]: *** [all-recursive] Error 1 make[1]: leaving directory '/cygdrive/d/cygwin/home/skyeye/skyeye' make: *** [all] Error 2 my english is poor,so, i may not express clearly.But, i need the help eagerly.Thank you. |
From: Michael.Kang <bla...@gm...> - 2011-07-17 06:08:47
|
1、Firstly you can try to use the existing officail emulator to run android. 2、You can try to build android kernel by self. 3、Now we are developing goldfish machine simulator. And now the basic kernel for goldfish machine can run. You can git clone the dyncom_arm_ppc branch to get the current development progress. Thanks MK -- www.skyeye.org |
From: sheng y. ni <ns...@gm...> - 2011-01-02 08:06:55
|
Hi all, Is there anybody now developing the gui tool for skyeye, and is there any softeare milestones, I'm interested in it and hope to improve QT skill by it, thanks very much ! -- Yours sincerely! ni sheng yue 13038586058 Xi'an,China |
From: YIP C. W. M. <mik...@ho...> - 2007-11-09 20:03:14
|
Dear all, Currently, I have a project that about running a standalone program on skyeye. However, I am not able to run the simulation. I am wondering does anybody have a simple standalone program with source code for me to test the pxa271 simulation? Thank you very much Mike _________________________________________________________________ 5 GB 超大容量 、創新便捷、安全防護垃圾郵件和病毒 — 立即升級 Windows Live Hotmail http://mail.live.com |