如何生成下面红色的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
本文将详细分析Kafka SocketServer的相关源码。...
分类:
其他好文 时间:
2015-01-04 23:07:13
阅读次数:
253
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
gcc源代码分析,debug_rtx()函数,利器啊
print-tree.c
#include "config.h"
#include "tree.h"
#include
/* Names of tree components.
Used for printing out the tree and error messages. */
#def...
分类:
其他好文 时间:
2015-01-03 22:29:52
阅读次数:
174
.file "hello.c"
gcc_compiled.:
.text
LC0:
.ascii "Hello, world!\12\0"
.align 2
.globl _main
_main:
pushl %ebp
movl %esp,%ebp
pushl $LC0
call _printf
xorl %ea...
分类:
其他好文 时间:
2014-12-30 23:38:58
阅读次数:
222
如果不太熟悉MyBatis使用的请先参见MyBatis官方文档,这对理解其架构设计和源码分析有很大好处。一、概述MyBatis并不是一个完整的ORM框架,其官方首页是这么介绍自己The MyBatis data mapper framework makes it easier to use a re...
分类:
其他好文 时间:
2014-12-28 19:30:56
阅读次数:
479
1/*************************************************************************
2>FileName:boot.s
3>Author:Linpeng1577
4>Mail:linpeng1577@gmail.comor15820224344@163.com
5>CreatedTime:Sun02Nov201411:42:53PMPST
6**************************************..
分类:
系统相关 时间:
2014-12-28 01:52:20
阅读次数:
216
1)Hadoop学习总结 (1)HDFS简介 (2)HDFS读写过程解析 (3)Map-Reduce入门 (4)Map-Reduce的过程解析 (5)Hadoop的运行痕迹 (6)Apache Hadoop 版本2)Hadoop-0.20.0源代码分析 (1)Hadoop-0.20.0...
分类:
其他好文 时间:
2014-12-23 22:29:26
阅读次数:
110