自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 资源 (22)
  • 收藏
  • 关注

原创 GCC后端及汇编发布 当前目录

>> 关于前端部分的文章在此 1. 概览2. genconditions工具2.1. 代码输出的准备2.1.1. 读入rtx形式的定义2.1.2. DEFINE_INSN模式的概览2.2. 输出指令定义模式的条件部分3. genrecog工具3

2011-07-11 07:17:52 2123 8

原创 GCC's bacl-end & assemble emission (36)

9.6.4.1.3.           Outputtable(s) for state alternativesIn 9.5.8 Automata generation,it is possible that instruction of different equiva

2011-07-31 08:27:20 777

原创 GCC后端及汇编发布(36)

9.6.4.1.3.           输出状态替代表在自动机的生成一节中看到,不同等效类别的指令从某个状态触发相同的状态迁移是可能的。这些指令被定义为状态替代(state alternative)。为了最小化自动机,以及把NDFA转换为DFA,这些状态将被合并为一个复合状

2011-07-31 08:24:45 1095

原创 GCC's bacl-end & assemble emission (35)

9.6.4. Output data for automatonIn 9.5.8 Automata generation, we have seenthat during automaton generation, lot of data are created. Now i

2011-07-31 08:17:54 951

原创 GCC后端及汇编发布(35)

9.6.4. 输出自动机数据在自动机的生成一节,我们已经看到在自动机的产生过程中,构建了许多数据。现在是时候为这些数据输出代码了。 9867 void9868 write_automata (void)

2011-07-31 08:01:01 1305

翻译 Multiboot规范(2)

4.      例子警告:以下内容不是该规范文档的一部分,但为了未来的操作系统及启动载入器作者,而包括进来。4.1        PC注意事项考虑在Multiboot信息结构体中‘flags’参数的第0位,如果讨论中的启动载入器使用旧的BIOS接口,或最新的不可用(参

2011-07-31 07:48:08 2836

翻译 Multiboot规范(1)

1.      Multiboot规范的简介本章描述Multiboot规范的某些粗略的信息。注意这不是规范本身的一部分。1.1. Multiboot规范的背景每个操作系统倾向于装备自己的启动载入器。在一个机器上安装一个新的操作系统,通常涉及安装一套新的启动机制,具有完

2011-07-31 07:47:20 4053

翻译 GRUB手册(5)

15.   认证与授权默认的,启动载入器接口对于任意可以物理进入控制台的人都是可访问的:任何人可以选择并编辑任意菜单项,并且可以直接访问一个GRUB shell。对于绝大多数系统,这是合理的,因为任何可以直接访问物理设备的人,有各种方法得到完全的访问,在启动载入器级别要求认证

2011-07-31 07:43:18 1761

翻译 GRUB手册(4)

14.   可用命令列表在本章里,我们列出所有在GRUB中可用的命令。命令属于不同的组。少数只能被用于配置文件(或菜单)的全局部分;它们中的大多数可以在命令行上输入,并可以在菜单各处或特别是菜单项中可用。在救援模式里,通常只有命令insmod(参考14.3.22节【i

2011-07-31 07:42:26 2360

翻译 GRUB手册(3)

7.       从网络启动GRUB以下命令仅在PCBIOS系统上工作,在那里Preboot eXecution环境(PXE)可用。网络产生一个PXE启动映像,运行:grub-mkimage --format=i386-pc-pxe --output=grub.pxe

2011-07-31 07:40:25 3346 1

翻译 GRUB手册(2)

5.       撰写你自己的配置文件使用‘grub.cfg’来配置GRUB,这个文件通常在‘/boot/grub’下。这个文件相当灵活,不过绝大多数用户都不需要手工地写出整个文件。5.1. 处理简单配置程序grub-mkconfig(参考第20章【调用grub-mk

2011-07-31 07:39:19 3948

翻译 GRUB手册(1)

1.       GRUB的简介1.1. 概览概而言之,当计算机启动时,启动载入器是第一个运行的程序。它负责载入并把控制传递给操作系统内核(例如Linux或GNU Mach)。内核依次初始化操作系统剩下的部分(即,GNU系统)。GNU GRUB是一个非常强大的启动载入

2011-07-31 07:36:48 2947

原创 GCC's bacl-end & assemble emission (34)

9.6.3. Output data for delayFor i386 architecture, no define_delay is used. However, it is worthto have a look how this pattern works. main

2011-07-16 08:54:59 620

原创 GCC后端及汇编发布(34)

9.6.3. 输出功能单元数据在产生了为指令提取属性的函数之后,用于调度器的数据及辅助函数将被生成如下。 main (continued) 6224  if (num_units|| num_dfa_decls)6225  {6226     /*Write out inform

2011-07-16 08:52:10 785

原创 GCC's bacl-end & assemble emission (33)

9.6.2. Output data for delayFor i386 architecture, no define_delay is used. However, it is worthto have a look how this pattern works. main

2011-07-16 08:49:07 617

原创 GCC后端及汇编发布(33)

9.6.2. 输出delay的数据对于i386架构,没有使用define_delay。不过,还是值得看一下这个模式如何工作。 main (continued) 6212   /* Write out delay eligibility information,if DEFINE_

2011-07-16 08:47:39 876

原创 GCC's bacl-end & assemble emission (32)

9.6.1.4.    OutputattributesThough we have created attributes related data, for using bypipeline hazards recognizer, they are needed be outp

2011-07-16 08:44:41 979

原创 GCC后端及汇编发布(32)

9.6.1.4.    输出属性虽然我们已经构建了属性相关的数据,为了流水线危险识别器的使用,它们需要被输出为接受指令rtx对象,并返回指令的属性值的函数。这些函数被输出到文件insn-attrtab.c中,并将作为gcc源代码的一部分,来产生执行映像。 main (contin

2011-07-16 08:29:49 1035

原创 GCC's bacl-end & assemble emission (31) cont

In next step, simliarly, the left bottom node of EQ_ATTR_ATL for theNOT sub-tree returns itself as left at line 3322.figure 86 : step 2 for

2011-07-10 15:09:35 771

原创 GCC后端及汇编发布(31)续

在下一步,同样的,对应NOT子树的EQ_ATTR_ATL的底部节点,在3322行把自身作为left返回。图86:优化属性,步骤2对于NOT内部右侧的孩子IOR,在3585行构建一个新的EQ_ATTR_ATL,并在3326行作为rigth返回。图87:优化属性,步骤3现在作为第四步

2011-07-10 15:04:27 755

原创 GCC's bacl-end & assemble emission (31)

9.6.1.3.    Optimizationfor attributesSome attributes contain complex expression as its value. Take anexample from file i386.md, the definti

2011-07-10 14:36:51 1173

原创 GCC后端及汇编发布(31)

9.6.1.3.    属性的优化一些属性包含复杂的表达式作为其值。使用i386.md文件中的一个例子,“length_immediate”属性的定义如下" 。 189  (define_attr "length_immediate"""190   (cond [(eq_attr

2011-07-10 14:33:08 1461

Introduction to Theory of Computation

This is a free textbook for an undergraduate course on the Theory of Computation, which we have been teaching at Carleton University since 2002.Until the 2011/2012 academic year, this course was offered as a second-year course (COMP 2805) and was compulsory for all Computer Science students. Starting with the 2012/2013 academic year, the course has been downgraded to a third-year optional course (COMP 3803).

2018-09-23

Survey on Instruction Selection

Instruction selection is one of three optimization problems involved in the code generator back-end of a compiler. The instruction selector is responsible of transforming an input program from its target-independent representation into a target-specific form by making best use of the available machine instructions. Hence instruction selection is a crucial part of efficient code generation.

2018-09-23

Towards a Compilation infrastructure for network processors

Modern network processors (NPs) typically resemble a highly-multithreaded multiprocessor-ona-chip, supporting a wide variety of mechanisms for on-chip storage and inter-task communication. NP applications are themselves composed of many threads that share memory and other resources,and synchronize and communicate frequently. In contrast, studies of new NP architectures and features are often performed by benchmarking a simulation model of the new NP using independent kernel programs that neither communicate nor share memory. In this paper we present a NP simulation infrastructure that (i) uses realistic NP applications that are multithreaded, share memory, synchronize, and communicate; and (ii) automatically maps these applications to a variety of NP architectures and features. We use our infrastructure to evaluate threading and scaling, on-chip storage and communication, and to suggest future techniques for automated compilation for NPs.

2018-09-23

Crafting a Compiler

Brief Contents 1 Introduction 1 2 A Simple Compiler 31 3 Scanning—Theory and Practice 57 4 Grammars and Parsing 113 5 Top-Down Parsing 143 6 Bottom-Up Parsing 179 7 Syntax-Directed Translation 235 8 Symbol Tables and Declaration Processing 279 9 Semantic Analysis 343 10 Intermediate Representations 391 11 Code Generation for a Virtual Machine 417 12 Runtime Support 445 13 Target Code Generation 489 14 Program Optimization 547

2018-09-01

How Debuggers Work

a total guide to debuggers: what they do, how they work, and how to use them to produce better programs

2018-09-01

Compiler Construction-20th

the essays collection of conference of Compiler Construction-20th

2018-09-01

Compiler Construction-19th

the essays collection of conference of Compiler Construction-19th

2018-09-01

Compiler Construction-17th

the essays collection of conference of Compiler Construction-17th

2018-09-01

Compiler Construction-16th

the essays collection of conference of Compiler Construction-16th

2018-09-01

Compiler Construction-5th

the essays collection of conference of Compiler Construction-5th

2018-09-01

Construction and Evolution of Code Generator

It describes the Construction and Evolution of Code Generator

2018-09-01

Compiler Construction-11th

the essays collection of conference Compiler Construction-11th

2018-09-01

The compiler design handbook

The compiler design handbook, which describes the design practice of compiler

2018-09-01

Data_Flow_Analysis_Theory_And_Practice(Bookos.org)

Data Flow Analysis Theory And Practice for compiler development

2018-09-01

The Compiler Design Handbook Optimizations and machine code generation

The Compiler Design Handbook Optimizations and machine code generation

2018-09-01

C++_Coding_Standards_101_Rule

C++ Coding Standards 101 Rule, Andrei Alexandrescu

2018-08-24

instruction scheduling for instruction level parallel processor

instruction scheduling for instruction level parallel processor

2018-07-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除