Displaying 12 results from an estimated 12 matches for "global_arr".
Did you mean:
global_array
2016 May 29
4
[cfe-dev] How to debug if LTO generate wrong code?
...mov %rsi,-0x10(%rbp)
> int t = global_func(argc);
> 400506: 8b 7d f8 mov -0x8(%rbp),%edi
> 400509: e8 d2 ff ff ff callq 4004e0 <global_func>
> 40050e: 89 45 ec mov %eax,-0x14(%rbp)
> t += global_arr[7];
> 400511: 8b 04 25 4c 10 60 00 mov 0x60104c,%eax
> 400518: 03 45 ec add -0x14(%rbp),%eax
> 40051b: 89 45 ec mov %eax,-0x14(%rbp)
> t += static_arr[7];
> 40051e: 8b 04 25 dc 11 60 00 mov 0x6011dc,%...
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
...mov -0x14(%rbp),%eax
40049d: 89 c7 mov %eax,%edi
40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
4004a6: 00 00 00
4004a9: ff d0 callq *%rax
4004ab: 89 45 fc mov %eax,-0x4(%rbp)
t += global_arr[7];
4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
4004b5: 00 00 00
4004b8: 8b 40 1c mov 0x1c(%rax),%eax
4004bb: 01 45 fc add %eax,-0x4(%rbp)
t += static_arr[7];
4004be: 48 b8 c0 0a 60 00 00 movabs $0x600ac0,%...
2016 May 30
2
[cfe-dev] How to debug if LTO generate wrong code?
...> 40049d: 89 c7 mov %eax,%edi
> 40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
> 4004a6: 00 00 00
> 4004a9: ff d0 callq *%rax
> 4004ab: 89 45 fc mov %eax,-0x4(%rbp)
> t += global_arr[7];
> 4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
> 4004b5: 00 00 00
> 4004b8: 8b 40 1c mov 0x1c(%rax),%eax
> 4004bb: 01 45 fc add %eax,-0x4(%rbp)
> t += static_arr[7];
> 4004be: 48 b8 c0 0a...
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
...> 40049d: 89 c7 mov %eax,%edi
> 40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
> 4004a6: 00 00 00
> 4004a9: ff d0 callq *%rax
> 4004ab: 89 45 fc mov %eax,-0x4(%rbp)
> t += global_arr[7];
> 4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
> 4004b5: 00 00 00
> 4004b8: 8b 40 1c mov 0x1c(%rax),%eax
> 4004bb: 01 45 fc add %eax,-0x4(%rbp)
> t += static_arr[7];
> 4004be: 48 b8 c0 0a...
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
...mov -0x14(%rbp),%eax
40049d: 89 c7 mov %eax,%edi
40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
4004a6: 00 00 00
4004a9: ff d0 callq *%rax
4004ab: 89 45 fc mov %eax,-0x4(%rbp)
t += global_arr[7];
4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
4004b5: 00 00 00
4004b8: 8b 40 1c mov 0x1c(%rax),%eax
4004bb: 01 45 fc add %eax,-0x4(%rbp)
t += static_arr[7];
4004be: 48 b8 c0 0a 60 00 00 movabs $0x600ac0,%...
2016 May 30
7
[cfe-dev] How to debug if LTO generate wrong code?
...> 40049d: 89 c7 mov %eax,%edi
> 40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
> 4004a6: 00 00 00
> 4004a9: ff d0 callq *%rax
> 4004ab: 89 45 fc mov %eax,-0x4(%rbp)
> t += global_arr[7];
> 4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
> 4004b5: 00 00 00
> 4004b8: 8b 40 1c mov 0x1c(%rax),%eax
> 4004bb: 01 45 fc add %eax,-0x4(%rbp)
> t += static_arr[7];
> 4004be: 48 b8 c0 0a...
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
...mov -0x14(%rbp),%eax
40049d: 89 c7 mov %eax,%edi
40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
4004a6: 00 00 00
4004a9: ff d0 callq *%rax
4004ab: 89 45 fc mov %eax,-0x4(%rbp)
t += global_arr[7];
4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
4004b5: 00 00 00
4004b8: 8b 40 1c mov 0x1c(%rax),%eax
4004bb: 01 45 fc add %eax,-0x4(%rbp)
t += static_arr[7];
4004be: 48 b8 c0 0a 60 00 00 movabs $0x600ac0,%...
2016 May 29
0
[cfe-dev] How to debug if LTO generate wrong code?
...48 89 75 f0 mov %rsi,-0x10(%rbp)
int t = global_func(argc);
400506: 8b 7d f8 mov -0x8(%rbp),%edi
400509: e8 d2 ff ff ff callq 4004e0 <global_func>
40050e: 89 45 ec mov %eax,-0x14(%rbp)
t += global_arr[7];
400511: 8b 04 25 4c 10 60 00 mov 0x60104c,%eax
400518: 03 45 ec add -0x14(%rbp),%eax
40051b: 89 45 ec mov %eax,-0x14(%rbp)
t += static_arr[7];
40051e: 8b 04 25 dc 11 60 00 mov 0x6011dc,%eax
400525:...
2016 May 30
1
[cfe-dev] How to debug if LTO generate wrong code?
...int t = global_func(argc);
> > 40049a: 8b 45 ec mov -0x14(%rbp),%eax
> > 40049d: 89 c7 mov %eax,%edi
> > 40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
> > 4004a6: 00 00 00
> > 4004a9: ff d0 callq *%rax
> > 4004ab: 89 45 fc mov %eax,-0x4(%rbp)
> > t += global_arr[7];
> > 4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
> > 4004b5: 00 00 00
> > 4004b8: 8b 40 1c mov 0x1c(%rax),%eax
> > 4004bb: 01 45 fc add %eax,-0x4(%rbp)
> > t += static_arr[7];
> > 4004be: 48 b8 c0 0a 60 00 00 movabs $0x600ac0,%rax
> > 4004c5: 00 0...
2016 May 30
2
[cfe-dev] How to debug if LTO generate wrong code?
...> 40049d: 89 c7 mov %eax,%edi
> 40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
> 4004a6: 00 00 00
> 4004a9: ff d0 callq *%rax
> 4004ab: 89 45 fc mov %eax,-0x4(%rbp)
> t += global_arr[7];
> 4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
> 4004b5: 00 00 00
> 4004b8: 8b 40 1c mov 0x1c(%rax),%eax
> 4004bb: 01 45 fc add %eax,-0x4(%rbp)
> t += static_arr[7];
> 4004be: 48 b8 c0 0a...
2016 May 17
2
[cfe-dev] How to debug if LTO generate wrong code?
> On May 17, 2016, at 11:21 AM, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote:
>
> Steven,
>
> As mehdi stated , the optimisation level is specific to linker and it
> enables Inter-Pro opts passes ,please refer function
To be very clear: the -O option may trigger *linker* optimizations as well, independently of LTO.
--
Mehdi
>
>
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
...mov -0x14(%rbp),%eax
40049d: 89 c7 mov %eax,%edi
40049f: 48 b8 76 04 40 00 00 movabs $0x400476,%rax
4004a6: 00 00 00
4004a9: ff d0 callq *%rax
4004ab: 89 45 fc mov %eax,-0x4(%rbp)
t += global_arr[7];
4004ae: 48 b8 20 09 60 00 00 movabs $0x600920,%rax
4004b5: 00 00 00
4004b8: 8b 40 1c mov 0x1c(%rax),%eax
4004bb: 01 45 fc add %eax,-0x4(%rbp)
t += static_arr[7];
4004be: 48 b8 c0 0a 60 00 00 movabs $0x600ac0,%...