一种快速的浮点乘法指令设计方法  

A FAST DESIGN METHOD FOR FLOATING POINT MULTIPLICATION INSTRUCTION

在线阅读下载全文

作  者:宗德才[1] 王康康[2] Zong Decai;Wang Kangkang(School of Computer Science and Engineering,Changshu Institute of Technology,Changshu 215500,Jiangsu,China;School of Mathematics and Science,Jiangsu University of Science and Technology,Zhenjiang 212003,Jiangsu,China)

机构地区:[1]常熟理工学院计算机科学与工程学院,江苏常熟215500 [2]江苏科技大学数理学院,江苏镇江212003

出  处:《计算机应用与软件》2021年第7期207-213,294,共8页Computer Applications and Software

基  金:国家自然科学基金面上项目(61773012)。

摘  要:为解决TEC-XP16教学机缺少浮点乘法指令的问题,基于TEC-XP16教学机,提出微程序控制器中32位浮点乘法指令的一种快速的设计方法。为解决人工方式将每条汇编指令转换成一条或多条微指令速度慢且容易出错等问题,提出一种能够根据汇编程序自动生成微程序的方法。为解决手工修改控制器ABEL语言源程序速度慢及容易出错等问题,提出一种能够自动修改控制器的ABEL语言源程序的方法。实验结果表明,所设计的32位浮点乘法指令的功能是正确的,平均只需要1.9 s就能根据汇编程序表自动生成微程序表,平均只需0.7 s就能根据微程序表等自动修改并生成控制器ABEL语言源程序,极大提高了浮点乘法指令的设计速度。该方法也可推广到其他复杂指令的设计上。To solve the problem that TEC-XP16 teaching machine does not have floating point multiplication instruction,a fast design method for 32-bit floating-point multiplication instruction is proposed based on TEC-XP16 microprogram controller.To solve the problem that manually converting every assembly instruction into one or more microinstructions has very low efficiency and is quite error prone,a fast method which can automatically produce microprogram according to assembly program is put forward.To solve the problem that manually modifying the ABEL source program of the controller has very low efficiency and is quite error prone,a method is proposed which can automatically modify the source program of the controller and generate a new source program file of ABEL language.The experimental results show that the design of 32-bit floating-point multiplication instruction is correct.The program written in assembly language can automatically produce microprogram in 1.9 seconds and modify the source program of the controller in 0.7 seconds on average,which greatly improves the efficiency for designing floating-point multiplication instruction.The method can also be extended to the design of other complex instructions.

关 键 词:TEC-XP16教学机 微程序控制器 32位浮点乘法指令 PYTHON语言 

分 类 号:TP332[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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