Skip to contentSkip to conversation

what is the symbole "leul" mean on this code?

DISCUSSION tugouxp 2 participants 2 messages Jun 2, 2020

lore
Share & tools
lore

tugouxp

author
#0 lore raw

HI guys:
i am stucked by the following code,and i can find document illustrations this nowhere. what does the "leul" stands for? and the postfix 10 means what?

thank you!

10 ---- 60010000 00000000 00000000

    11  movi_i32 tmp3,$0x60010020                pref=all

    12  mov_i32 tmp5,tmp3                        dead: 1  pref=all

    13  qemu_ld_i32 tmp4,tmp5,leul,10            dead: 1  pref=all

    14  movi_i32 tmp3,$0xfffffffffffffffe        pref=all

    15  and_i32 pc,tmp4,tmp3                     sync: 0  dead: 0 2  pref=all

    16  movi_i32 tmp3,$0x1                       pref=all

    17  and_i32 tmp4,tmp4,tmp3                   dead: 1 2  pref=all

    18  st_i32 tmp4,env,$0x220                   dead: 0 1

    19  exit_tb $0x0                           

    20  set_label $L0     

    21  exit_tb $0x7f0d0223c003
#1 lore raw
Quoted 4 lines · tugouxp

HI guys:
i am stucked by the following code,and i can find document illustrations this nowhere. what does the "leul" stands for? and the postfix 10 means what?

That should be little-endian unsigned long (where long is 32-bit).

Laurent

Quoted 31 lines

thank you!

10 ---- 60010000 00000000 00000000

    11  movi_i32 tmp3,$0x60010020                pref=all

    12  mov_i32 tmp5,tmp3                        dead: 1  pref=all

    13  qemu_ld_i32 tmp4,tmp5,leul,10            dead: 1  pref=all

    14  movi_i32 tmp3,$0xfffffffffffffffe        pref=all

    15  and_i32 pc,tmp4,tmp3                     sync: 0  dead: 0 2  pref=all

    16  movi_i32 tmp3,$0x1                       pref=all

    17  and_i32 tmp4,tmp4,tmp3                   dead: 1 2  pref=all

    18  st_i32 tmp4,env,$0x220                   dead: 0 1

    19  exit_tb $0x0

    20  set_label $L0

    21  exit_tb $0x7f0d0223c003