本文是为了解释下面这4个rtx是如何产生的,和emit_call_1 ()函数有关。
(const_int 4)
(mem:QI (symbol_ref/v:SI ("printf")))
(call (mem:QI (symbol_ref/v:SI ("printf")))
(const_int 4))
(set (reg:SI 0)
(call (m...
分类:
其他好文 时间:
2015-01-06 09:59:34
阅读次数:
259
(insn_list 6 (nil))
(insn_list 2 (insn_list 6 (nil)))
(sequence[ ] )
(reg:SI 0)
(const_int 4)
这次是解释这5条rtx的产生过程
相关的代码片段:
/* Mark all register-parms as living through the call...
分类:
其他好文 时间:
2015-01-06 08:37:04
阅读次数:
145
如何生成下面红色的3个指令?
和gen_push_operand ()函数和emit_move_insn ()函数有关,他们都在expand_call()函数中被调用。
具体位置:
rtx addr;
#ifdef PUSH_ROUNDING
if (args_addr == 0)
addr = gen_push_operand ();...
分类:
其他好文 时间:
2015-01-05 20:33:41
阅读次数:
248
expand_call()函数在expr.c文件中。
下面是expand_call()函数的主要调试结果,记录之。
主要是加入了debug_tree()函数和debug_rtx()函数。
debug_tree()函数加入到了expand_expr()函数的开始。
debug_rtx()函数加入到了gen_rtx()函数的结束处。
emit_call_1()函数是何时调用的也能看出。e...
分类:
其他好文 时间:
2015-01-05 11:12:32
阅读次数:
184
rtx
expand_expr (exp, target, tmode, modifier)
register tree exp;
rtx target;
enum machine_mode tmode;
enum expand_modifier modifier;
{
.....
case STRING_CST:
...
分类:
其他好文 时间:
2015-01-05 09:27:54
阅读次数:
239
https://oj.leetcode.com/problems/largest-rectangle-in-histogram/http://blog.csdn.net/linhuanmars/article/details/20524507publicclassSolution{
publicintlargestRectangleArea(int[]height)
{
//SolutionA
//returnlargestRectangleArea_Expand(height);
//SolutionB
..
分类:
其他好文 时间:
2015-01-05 07:13:52
阅读次数:
132
tree.def 中第0x3d个元素是
DEFTREECODE (CALL_EXPR, "call_expr", "e", 3)
下面是debug_tree()函数的结果,可以看出expand_expr()函数到gen_rtx()函数的调用过程!
expand_expr code = 3d
type
size
align 3...
分类:
其他好文 时间:
2015-01-04 23:06:23
阅读次数:
306
CrmFetchKit.js是一个跨浏览器的一个类库,允许通过JavaScript来执行fetch xml的查询,还可以实现批量更新,分页查询等。目前已支持Chrome 25, Firefox 19 和 IE9/10 . 它的最大优势是可以通过fetchxml 来查询,这样我们就可以实现真正的多表联合查询,虽然可以用OData终结点的$expand来进行多表的联合查询,但这种方式没办法过滤多表的...
分类:
Web程序 时间:
2015-01-01 18:34:28
阅读次数:
378
With the copy task of Gradle we can copy files that are parsed by Groovy's SimpleTemplateEngine. This means we can expand properties in the source fil...
分类:
其他好文 时间:
2014-12-27 21:38:19
阅读次数:
201
/** * GEF树叶子节点的展开 * @param items */ private void expand(TreeItem[] items) { for (int i = 0; i < items.length; i++) { expand(items[i].ge...
分类:
其他好文 时间:
2014-12-25 16:01:56
阅读次数:
146