Question, enabling NEON H/W

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question, enabling NEON H/W

ソリューションへジャンプ
2,785件の閲覧回数
Aemj
Contributor IV

Dear All,

My customer measured the performance of mathematical function, such as Logarithm or Power, on i.MX6S.

He thinks the performance will get better if NEON HW can be enabled.

Now he uses GCC compiler.

Please show me how to enable NOEN H/W for the math functions on i.MX6. (GCC flags, etc.)

Also, please let me know if you have any ideas to improve the math calculation performance.

Best Regards,

Miyamoto

ラベル(1)
0 件の賞賛
返信
1 解決策
1,727件の閲覧回数
Yuri
NXP Employee
NXP Employee

1.

Default GCC options regarding floating point support are :

-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp

To use the NEON :

-march=armv7-a -mfpu=neon -mfloat-abi=softfp

2.

As for Linux :


“How to create ubuntu hardfloat rootfs for imx6d/q”

< https://community.freescale.com/docs/DOC-95185 >

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,728件の閲覧回数
Yuri
NXP Employee
NXP Employee

1.

Default GCC options regarding floating point support are :

-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp

To use the NEON :

-march=armv7-a -mfpu=neon -mfloat-abi=softfp

2.

As for Linux :


“How to create ubuntu hardfloat rootfs for imx6d/q”

< https://community.freescale.com/docs/DOC-95185 >

0 件の賞賛
返信