.set push and .set pop
2012-05-07 19:39
253 查看
在龙芯论坛搜到的。
.set <flag>
Sets (and clears) various flags that affect generated code. The following table may not be a complete list.
Flag
noreorder
Turns off reordering of instructions. When on, t.i. when the assembler is reordering, it will put the last instruction before j or jr after the jump so it'll be in the branch delay slot. When off, you'll have to do it yourself.
mips3
Tells the assembler that it can use the MIPS III instructions. Withouth it as simulates 64 bit instructions, and believe me, that's something you don't want.
reorder
Allows the assembler to reorder instructions; see noreorder
pop
Not really a flag but restores the state of the flags to what it was before the last .set push; see push.
push
Nor really a flag but saves the status of the flags so it can be restored with .set pop. Not really useful (I think) outside inline assembly. Use in pairs with .set pop.
.set <flag>
Sets (and clears) various flags that affect generated code. The following table may not be a complete list.
Flag
noreorder
Turns off reordering of instructions. When on, t.i. when the assembler is reordering, it will put the last instruction before j or jr after the jump so it'll be in the branch delay slot. When off, you'll have to do it yourself.
mips3
Tells the assembler that it can use the MIPS III instructions. Withouth it as simulates 64 bit instructions, and believe me, that's something you don't want.
reorder
Allows the assembler to reorder instructions; see noreorder
pop
Not really a flag but restores the state of the flags to what it was before the last .set push; see push.
push
Nor really a flag but saves the status of the flags so it can be restored with .set pop. Not really useful (I think) outside inline assembly. Use in pairs with .set pop.
相关文章推荐
- mongodb 修改器($inc/$set/$unset/$push/$pop/upsert)
- #pragma——push and pop
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert......)
- MongoDB学习—(5)修改器$inc,$unset,$push,$pushAll,$allToSet,$pop,$pull,$pullAll
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert......)
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert......)
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert......)
- test pthread_cleanup_push、pthread_cleanup_pop and pthread_exit
- ARM 指令集 之 PUSH and POP
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert/$rename)-转载补充
- .set push .set pop什么作用?
- mongo 修改器 $inc/$set/$unset/$pop/$push/$pull/$addToSet
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert/save())
- Pop and push the same view does not invoke the viewWillAppear() method (转载)
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert......)
- Set Font Properties On Mouse Hover Of Push Button And Text Items At Run time In Oracle Forms
- How to change the Push and Pop animations in a navigation based app
- stack manipulation push and pop
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert......)
- mongodb_修改器($inc/$set/$unset/$push/$pop/upsert......)