Difference Between e_lwz and lwz

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

Difference Between e_lwz and lwz

2,495件の閲覧回数
tektronix
Contributor II

What is the difference between e_lwz and lwz ? e_stw and stw? Apart from one is VLE and other is not? I see huge timing difference when I read or write to memory when using e_stw and stw.

Why is this so?

Regard's

0 件の賞賛
返信
4 返答(返信)

1,856件の閲覧回数
tektronix
Contributor II

I am using MPC56XX device and I am using CodeWarrior. I think they are based on VLE or non VLE

0 件の賞賛
返信

1,856件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi,

indeed e_ prefix represents 32-bit VLE instrction whereas no prefix means BookE instruction.

Regarding e_stw / stw:

both are 32 bit instructions with same operands but different opcodes.I don't think there should be a big timing difference between these two instructions.


In general you can expect VLE code a bit slower in contrast to BookE but on the other hand the code density is much higher.

The higher code density may result in more efficient instruction cache/instruction buffer usage which may improve the code speed too.

Can you describe your observations more in the detail and also test case you use for benchmarking?


Thanks!


Stan

0 件の賞賛
返信

1,856件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello:

Ok, thanks for sharing that information. I do not have an answer. We can wait for a response or you can always submit a service request if this is critical for you.

Regards!

Jorge Gonzalez

0 件の賞賛
返信

1,856件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello:

Could you please provide more details so your question can be investigated?

What software and device are you using?

What are those e_lwz and lwz you refer to?

Sorry about the questions, I'm just trying to help.

Regards!

Jorge Gonzalez

0 件の賞賛
返信