MPC5777C and 64-bit (uint64_t) in S32DS

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

MPC5777C and 64-bit (uint64_t) in S32DS

1,121件の閲覧回数
bob255255
Contributor I

Ok, so I have searched fairly extensively (I think) and tried a number of "target processor" options in S32DS in hopes the compiler would make use of 64-bit registers/instructions for the following. 

static uint64_t fredxxx = 0;
while (1)
{
fredxxx++;
}

Disassembly yields:
1a: 48 05       se_li   r5,0
1c: 48 16       se_li   r6,1
1e: 7d 08 30 14 addc    r8,r8,r6
22: 7c e7 29 14 adde    r7,r7,r5
26: 54 e0 00 00 e_stw   r7,0(0)
26: R_PPC_VLE_SDA21 .sbss.fredxxx.24421
2a: 55 00 00 00 e_stw   r8,0(0)
2a: R_PPC_VLE_SDA21 .sbss.fredxxx.24421+0x4

Am I missing something? (feel free to point out if I'm being stupid here...)

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

1,080件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @bob255255 

Please take a look at this thread, it was already discussed:

https://community.nxp.com/t5/S32-Design-Studio/how-to-enable-and-use-VFPU-and-SPE2-SIMD-for-MPC57xx-...

Regards,

Lukas

0 件の賞賛
返信

1,119件の閲覧回数
bob255255
Contributor I

Screenshot 2023-07-12 at 10.51.41 AM.png

 The above iteration had these target processor options.

0 件の賞賛
返信