Displaying 18 results from an estimated 18 matches for "fstpl".
Did you mean:
fstp
2013 Oct 19
2
[LLVMdev] Feature request for include llvm-mc in llvm.org/builds
...ile for both linux/gcc and
windows/visual C++.
.global sqrt
.type sqrt, at function
sqrt: fldl 4(%esp)
fsqrt
fstsw %ax
sub $12,%esp
fld %st(0)
fstpt (%esp)
mov (%esp),%ecx
and $0x7ff,%ecx
cmp $0x400,%ecx
jnz 1f
and $0x200,%eax
sub $0x100,%eax
sub %eax,(%esp)
fstp %st(0)
fldt (%esp)
1: add $12,%esp
fstpl 4(%esp)
fldl 4(%esp)
ret
>
> Cheers,
> Rafael
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
2011 Apr 14
2
[LLVMdev] [x86 codegen] 3DNow! intrinsics not behaving as expected.
...%ebp
subl $56, %esp
movl $1077936128, -12(%ebp) # imm = 0x40400000
movl $1065353216, -16(%ebp) # imm = 0x3F800000
movl $1080033280, -4(%ebp) # imm = 0x40600000
movl $1092616192, -8(%ebp) # imm = 0x41200000
movq -16(%ebp), %mm0
pfadd -8(%ebp), %mm0
movq %mm0, -24(%ebp)
flds -20(%ebp)
fstpl 12(%esp)
flds -24(%ebp)
fstpl 4(%esp)
movl $.L.str, (%esp)
calll printf
xorl %eax, %eax
addl $56, %esp
popl %ebp
ret
.Ltmp0:
.size main, .Ltmp0-main
.type .L.str, at object # @.str
.section .rodata.str1.1,"aMS", at progbits,1
.L.str:
.asciz "%f, %f\n"
.si...
2013 Oct 21
0
[LLVMdev] Feature request for include llvm-mc in llvm.org/builds
...> sqrt: fldl 4(%esp)
> fsqrt
> fstsw %ax
> sub $12,%esp
> fld %st(0)
> fstpt (%esp)
> mov (%esp),%ecx
> and $0x7ff,%ecx
> cmp $0x400,%ecx
> jnz 1f
> and $0x200,%eax
> sub $0x100,%eax
> sub %eax,(%esp)
> fstp %st(0)
> fldt (%esp)
> 1: add $12,%esp
> fstpl 4(%esp)
> fldl 4(%esp)
> ret
>
> >
> > Cheers,
> > Rafael
>
>
>
> --
> 此致
> 礼
> 罗勇刚
> Yours
> sincerely,
> Yonggang Luo
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at c...
2007 Dec 20
1
[LLVMdev] Code Generation Problem llvm 1.9
...fffff20(%ebp),%esi
0xf5f6f35f: add $0x10,%esi
0xf5f6f362: movl $0x0,(%esi)
0xf5f6f368: movl $0x40000000,0x4(%esi)
0xf5f6f36f: movl $0x40590000,0xc(%esp)
0xf5f6f377: movl $0x0,0x8(%esp)
0xf5f6f37f: call 0xf5f6effb
0xf5f6f384: add $0x10,%esp
0xf5f6f387: fstpl 0xffffff60(%ebp)
0xf5f6f38d: mov 0xffffff20(%ebp),%eax
0xf5f6f393: add $0x18,%eax
0xf5f6f396: movsd 0xffffff60(%ebp),%xmm0
0xf5f6f39e: movsd %xmm0,0xffffff18(%ebp)
0xf5f6f3a6: movsd %xmm0,(%eax)
0xf5f6f3aa: cvttsd2si (%esi),%eax
0xf5f6f3ae: xor %ecx,%ecx
0xf...
2010 Jun 07
1
[LLVMdev] XMM in X86 Backend
...x86 backend. Basically, for a code like this
double test(double a, double b) {
double c;
c = 1.0 + sin (a + b*b);
return c;
}
llc produced somthing like....
movsd 16(%ebp), %xmm0
mulsd %xmm0, %xmm0
addsd 8(%ebp), %xmm0
movsd %xmm0, (%esp)
.......
fstpl -8(%ebp
movsd -8(%ebp), %xmm0
addsd .LC1, %xmm0
movsd %xmm0, -8(%ebp)
fldl -8(%ebp)
LLVM Backend is using xmms it involves a lot of register moves. llc has one
option -mcpu=686, where output does not use xmm but it disables some other
instructions also. Is t...
2013 Oct 19
0
[LLVMdev] Feature request for include llvm-mc in llvm.org/builds
On 19 October 2013 06:01, 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com> wrote:
> I found that access llvm-mc from clang driver is impossible, and I
> want to use llvm-mc to compile assembly files, how to do that?
Try "clang -integrated-as -c test.s"
Cheers,
Rafael
2013 Oct 21
1
[LLVMdev] Feature request for include llvm-mc in llvm.org/builds
...t; sub $12,%esp
>> fld %st(0)
>> fstpt (%esp)
>> mov (%esp),%ecx
>> and $0x7ff,%ecx
>> cmp $0x400,%ecx
>> jnz 1f
>> and $0x200,%eax
>> sub $0x100,%eax
>> sub %eax,(%esp)
>> fstp %st(0)
>> fldt (%esp)
>> 1: add $12,%esp
>> fstpl 4(%esp)
>> fldl 4(%esp)
>> ret
>>
>> >
>> > Cheers,
>> > Rafael
>>
>>
>>
>> --
>> 此致
>> 礼
>> 罗勇刚
>> Yours
>> sincerely,
>> Yonggang Luo
>>
>> ___________________________...
2013 Oct 22
2
[LLVMdev] How to use clang -intergrated-as to compile cross-(os/target) assembly file.
...fstsw %ax
sub $12,%esp
fld %st(0)
fstpt (%esp)
mov (%esp),%ecx
and $0x7ff,%ecx
cmp $0x400,%ecx
jnz 1f
and $0x200,%eax
sub $0x100,%eax
sub %eax,(%esp)
fstp %st(0)
fldt (%esp)
1: add $12,%esp
fstpl 4(%esp)
fldl 4(%esp)
ret
H:\CI\bld\compilers\musl\src\math\i386>type sqrt.c
float __cdecl sqrt(float z)
{
return 0.0;
}
H:\CI\bld\compilers\musl\src\math\i386>clang -integrated-as -c -v
--target=i686
-pc-win32 sqrt.s
clang version 3.4 (trunk)
Target: i686-pc-win32
Thread...
2013 Oct 19
2
[LLVMdev] Feature request for include llvm-mc in llvm.org/builds
I found that access llvm-mc from clang driver is impossible, and I
want to use llvm-mc to compile assembly files, how to do that?
H:\CI\bld\compilers\musl\src\math\i386>clang -c -v --target=i686-pc-mingw sqrt.s
clang version 3.4 (trunk)
Target: i686-pc-mingw
Thread model: posix
Selected GCC installation:
"gcc" -v -c -m32 -o sqrt.o -x assembler sqrt.s
clang.exe: error: unable to
2013 Oct 22
0
[LLVMdev] How to use clang -intergrated-as to compile cross-(os/target) assembly file.
...fstpt (%esp)
> mov (%esp),%ecx
> and $0x7ff,%ecx
> cmp $0x400,%ecx
> jnz 1f
> and $0x200,%eax
> sub $0x100,%eax
> sub %eax,(%esp)
> fstp %st(0)
> fldt (%esp)
> 1: add $12,%esp
> fstpl 4(%esp)
> fldl 4(%esp)
> ret
>
> H:\CI\bld\compilers\musl\src\math\i386>type sqrt.c
> float __cdecl sqrt(float z)
> {
> return 0.0;
> }
> H:\CI\bld\compilers\musl\src\math\i386>clang -integrated-as -c -v
> --target=i686
> -pc-win32 sqrt.s...
2011 Aug 15
0
problem with stars!
...a SelectObject16+0x19() in gdi.exe16 (0x0096d4a8)
8 0x7e68d5da in gdi.exe16 (+0xd5d9) (0x0096d4b8)
9 0x7eb37c9e in krnl386.exe16 (+0x7c9d) (0x0096d4e8)
10 0x11df:0x0a4e (0x12ef:0xa54c)
11 0x11f7:0x05ff (0x12ef:0xa57c)
12 0x101f:0x0468 in krnl386.exe16 (+0x808f) (0x12ef:0xa5d8)
0x7e9f5310: fstpl 0xffffffe0(%ebp)
Modules:
Module Address Debug info Name (119 modules)
ELF 7b800000-7b9a8000 Deferred kernel32<elf>
\-PE 7b810000-7b9a8000 \ kernel32
ELF 7bc00000-7bcc3000 Deferred ntdll<elf>
\-PE 7bc10000-7bcc3000 \ ntdll
ELF 7bf00000-7bf...
2011 Sep 10
2
Can't get Windows program installed under Wine to work
...8)
> 10 0x126f:0x2588 (0x1207:0x5090)
> 11 0x126f:0x02a8 (0x1207:0x511c)
> 12 0xb812:0x6f01 (0x1207:0x5128)
> 13 0xb812:0xcf12 (0x1207:0x516a)
> 14 0x7c11:0xef2c (0x1207:0x52d0)
> 15 0x7c11:0xef40 (0x1207:0x530a)
> 16 0x0711:0xdf01 (0x1207:0x0000)
> 0x7e9ec310: fstpl 0xffffffe0(%ebp)
> Modules:
> Module Address Debug info Name (112 modules)
> ELF 7b800000-7b97c000 Deferred kernel32<elf>
> \-PE 7b810000-7b97c000 \ kernel32
> ELF 7bc00000-7bcba000 Deferred ntdll<elf>
> \-PE 7bc10000-7bcba000 \...
2013 Oct 23
2
[LLVMdev] How to use clang -intergrated-as to compile cross-(os/target) assembly file.
...,%ecx
>> and $0x7ff,%ecx
>> cmp $0x400,%ecx
>> jnz 1f
>> and $0x200,%eax
>> sub $0x100,%eax
>> sub %eax,(%esp)
>> fstp %st(0)
>> fldt (%esp)
>> 1: add $12,%esp
>> fstpl 4(%esp)
>> fldl 4(%esp)
>> ret
>>
>> H:\CI\bld\compilers\musl\src\math\i386>type sqrt.c
>> float __cdecl sqrt(float z)
>> {
>> return 0.0;
>> }
>> H:\CI\bld\compilers\musl\src\math\i386>clang -integrated-as -c -v
>&...
2013 Oct 21
0
[LLVMdev] LLVMdev Digest, Vol 112, Issue 56
...> sqrt: fldl 4(%esp)
> fsqrt
> fstsw %ax
> sub $12,%esp
> fld %st(0)
> fstpt (%esp)
> mov (%esp),%ecx
> and $0x7ff,%ecx
> cmp $0x400,%ecx
> jnz 1f
> and $0x200,%eax
> sub $0x100,%eax
> sub %eax,(%esp)
> fstp %st(0)
> fldt (%esp)
> 1: add $12,%esp
> fstpl 4(%esp)
> fldl 4(%esp)
> ret
>
> >
> > Cheers,
> > Rafael
>
>
>
> --
> ??
> ?
> ???
> Yours
> sincerely,
> Yonggang Luo
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at c...
2013 Oct 22
0
[LLVMdev] LLVMdev Digest, Vol 112, Issue 59
...)
> fstpt (%esp)
> mov (%esp),%ecx
> and $0x7ff,%ecx
> cmp $0x400,%ecx
> jnz 1f
> and $0x200,%eax
> sub $0x100,%eax
> sub %eax,(%esp)
> fstp %st(0)
> fldt (%esp)
> 1: add $12,%esp
> fstpl 4(%esp)
> fldl 4(%esp)
> ret
>
> H:\CI\bld\compilers\musl\src\math\i386>type sqrt.c
> float __cdecl sqrt(float z)
> {
> return 0.0;
> }
> H:\CI\bld\compilers\musl\src\math\i386>clang -integrated-as -c -v
> --target=i686
> -pc-win32 sqrt.s
&g...
2013 Oct 15
0
[LLVMdev] [llvm-commits] r192750 - Enable MI Sched for x86.
...etelementptr ([13 x i8]* @.str1, i32 0, i32 0) ) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=1]
>> %tmp3940 = fpext float %tmp1314 to double ; <double> [#uses=1]
>> +; CHECK: fld
>> ; CHECK: fstpl
>> ; CHECK: ZNSolsEd
>> %tmp42 = tail call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZNSolsEd( %"struct.std::basic_ostream<char,std::char_traits<char> >"* %tmp34, double %tmp3940 ) ; <%"struct....
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running
on the host or in a separate VM, to control the execution of other VM-s
(pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.),
alter the page access bits in the shadow page tables (only for the hardware
backed ones, eg. Intel's EPT) and receive notifications when events of
interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running
on the host or in a separate VM, to control the execution of other VM-s
(pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.),
alter the page access bits in the shadow page tables (only for the hardware
backed ones, eg. Intel's EPT) and receive notifications when events of
interest have taken place