Tag_DIV_use: Not allowed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Tag_DIV_use: Not allowed

1,874 次查看
chinaman
Fresh Out Contributor

Hi:

我们最近在使用imx6ul时,使用readelf命令查询程序属性时,发现有一个Tag_DIV_use: Not allowed

查询arm手册这句话的意思是UDIV/SDIV禁止使用。难道是imx6ul不支持这两条指令吗,或者是这句话另有所指?

手动阀
标签 (1)
0 项奖励
回复
3 回复数

1,721 次查看
joanxie
NXP TechSupport
NXP TechSupport

for SDIV:Assembler User Guide: SDIV 

This 32-bit Thumb instruction is available in ARMv7-R and ARMv7-M.
This ARM instruction is optional in ARMv7-R.
There is no 16-bit Thumb SDIV instruction.

IMX6UL is ARM cortex A7

0 项奖励
回复

1,721 次查看
chinaman
Fresh Out Contributor

Dear Xie:

    感谢您的回复,imx6q也是A系列的,它为啥没有这个限制呢?

手动阀
0 项奖励
回复

1,721 次查看
joanxie
NXP TechSupport
NXP TechSupport

IMX6Q 应该也是Tag_DIV_use: Not allowed的

0 项奖励
回复