How to Use altivec?

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

How to Use altivec?

2,312件の閲覧回数
varunkjayan
Contributor II

hi

i am using the T4240rdb board i want to know how to enable altivec feature is it built in

in the t4240rdb fsl-image-core and how can we exploit the altivec feature is there any code or command for that

ラベル(1)
3 返答(返信)

1,845件の閲覧回数
bpe
NXP Employee
NXP Employee

Altivec is a feature of e6500 core accessed by special command subset.

In kernel, it is enabled by CONFIG_ALTIVEC option which is enabled in the SDK default configuration

for all supported e6500-based processors/boards.

For user space,  '-maltivec' GCC option allows the compiler to utilize Altivec instructions. Again,

the SDK sets this flag when it builds rootfs by default.

Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,845件の閲覧回数
varunkjayan
Contributor II

thank you for replying i have one more question 

for example if we are going to add some 4000 matrices and then use this altivec feature will it help in reducing the computation time significantly than the normal compiling and executing

0 件の賞賛
返信

1,845件の閲覧回数
bpe
NXP Employee
NXP Employee
0 件の賞賛
返信