面向LoongArch边界检查访存指令的GCC优化.pdfVIP

  • 0
  • 0
  • 约6.7万字
  • 约 15页
  • 2026-01-14 发布于海南
  • 举报

面向LoongArch边界检查访存指令的GCC优化.pdf

计算机研究与发展

Journal

of

Computer

Research

and

Development62(5):1136−1150,2025

本期推荐

面向LoongArch边界检查访存指令的GCC优化

112,321111

舒燕君郑翔宇徐成华黄沛王永琪周凡张展左德承

1

(哈尔滨工业大学计算学部哈尔滨150001)

2

(龙芯中科技术股份有限公司北京100095)

3

(中国科学技术大学计算机科学与技术学院合肥230026)

(yjshu@)

GCCOptimizationforLoongArchMemoryAccessingInstructionswith

Bound-Checking

1

1

2,3

2

1

1

1

1

Shu

Yanjun,

Zheng

Xiangyu,

Xu

Chenghua,

Huang

Pei,

Wang

Yongqi,

Zhou

Fan,

Zhang

Zhan,

and

Zuo

Decheng

1

(FacultyofComputing,HarbinInstituteofTechnology,Harbin150001)

2

(LoongsonTechnologyCorporationLimited,Beijing100095)

3

(SchoolofComputerScienceandTechnology,UniversityofScienceandTechnologyofChina,Hefei230026)

AbstractLoongArch

ISA

(instruction

set

architecture)

introduces

new

memory

accessing

instructions

with

bound-

checking

to

decrease

the

overhead

of

memory

security

check.

However,

as

a

new

type

of

memory

accessing

instruction,

the

existing

GCC

(GNU

compiler

collection)

compiler

tools

cannot

support

it

and

thus

LoongArch

based

hardware

remains

underutilized.

Therefore,

in

this

paper,

we

revise

the

GCC

compiler

with

the

LoongArch

memory

accessing

instructions

to

optimize

the

memory

security

check.

Specifically,

our

work

is

divided

into

three

parts:

1)

designing

built-in

functions

for

the

memory

accessing

文档评论(0)

1亿VIP精品文档

相关文档