Displaying 2 results from an estimated 2 matches for "80480a3".
Did you mean:
80480a8
2020 Jan 07
2
Inline assembly in intel syntax mishandling i constraint
...call void asm sideeffect "movl $0, %eax", "i,~{dirflag},~{fpsr},~{flags}"(i32* @foo) #1, !srcloc !3
call void asm sideeffect "movl $0, %ebx", "i,~{dirflag},~{fpsr},~{flags}"(i32* @bar) #1, !srcloc !4
ret void
}
When assembled, I get the expected output
80480a3: b8 b0 90 04 08 mov eax,0x80490b0
80480a8: bb b4 90 04 08 mov ebx,0x80490b4
After modifying the second one to be
call void asm sideeffect inteldialect "mov ebx, $0", "i,~{dirflag},~{fpsr},~{flags}"(i32* @bar) #1, !srcloc !4
and assembling, I get the unex...
2020 Jan 08
2
Inline assembly in intel syntax mishandling i constraint
...t;movl $0, %eax", "i,~{dirflag},~{fpsr},~{flags}"(i32* @foo) #1, !srcloc !3
> call void asm sideeffect "movl $0, %ebx", "i,~{dirflag},~{fpsr},~{flags}"(i32* @bar) #1, !srcloc !4
> ret void
> }
>
> When assembled, I get the expected output
> 80480a3: b8 b0 90 04 08 mov eax,0x80490b0
> 80480a8: bb b4 90 04 08 mov ebx,0x80490b4
>
>
> After modifying the second one to be
> call void asm sideeffect inteldialect "mov ebx, $0", "i,~{dirflag},~{fpsr},~{flags}"(i32* @bar) #1,...