一种基于64位机器的32位指针优化方法  

AN OPTIMIZING STRATEGY FOR 32-BIT POINTER BASED ON 64-BIT PROCESSOR

在线阅读下载全文

作  者:漆锋滨[1] 王超[1] 姜军[1] 

机构地区:[1]江南计算技术研究所,江苏无锡214083

出  处:《计算机应用与软件》2009年第11期38-40,共3页Computer Applications and Software

基  金:国家重点基础研究发展计划项目(2005CB321602)。

摘  要:在64位机器上,存储器一般以64位的虚地址进行访问,所有的指针变量也以8字节进行存储和使用。介绍一种在64位机器上采取32位地址进行计算和访存的编译优化方法,这种优化的目的是针对64位机器上大量使用指针数据的课题,采取32位寻址可以减少指针变量占用内存和cache空间,从而大大提高了该类课题的运行效率。Memory is usually accessed by 64-bit virtual address on a 64-bit processor, at the same time, all pointer variables are stored and used in 8 bytes. In this paper, we present a new compiling optimization method, which makes use of 32-bit addressing space in a 64-bit machine to compute, access and store. The aim of the optimization is in light of a subject that massive pointer variables are used in 64-bit machines, to use 32-bit addressing technique can efficiently reduce the storage area the pointer variables possess in memory and cache spaces by cutting the length of it, thus improves the runtime efficiency of such subjects.

关 键 词:32位指针 64位处理器 32位加载器 地址空间 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论] TP314[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象