Re: question about head_64.S

2019-01-23 Thread Kirill A. Shutemov
On Wed, Jan 23, 2019 at 12:01:23PM +0800, Cao jin wrote: > Thanks for your info! BTW, could I know how you construct the test > environment? Nothing fancy. I just built different versions of binutils from git. -- Kirill A. Shutemov

Re: question about head_64.S

2019-01-22 Thread Cao jin
On 1/22/19 9:08 PM, Kirill A. Shutemov wrote: > On Tue, Jan 22, 2019 at 03:31:25PM +0800, Cao jin wrote: >> Hi, Kirll, >> >>> 2. >>> Why gdt64 has following definition?: >>> >>> gdt64: >>> .word gdt_end - gdt >>> .long 0 >>> .word 0 >>> .quad 0 >>> >>> obviously, gdt64 stor

Re: question about head_64.S

2019-01-22 Thread Kirill A. Shutemov
On Tue, Jan 22, 2019 at 03:31:25PM +0800, Cao jin wrote: > Hi, Kirll, > > On 1/15/19 7:45 PM, Cao jin wrote: > > Hi, > > I have been digging into this file for a while, and I still have 2 > > questions unclear, hope to get your help. > > > > > > > 2. > > Why gdt64 has following definition?: >

Re: question about head_64.S

2019-01-21 Thread Cao jin
Hi, Kirll, On 1/15/19 7:45 PM, Cao jin wrote: > Hi, > I have been digging into this file for a while, and I still have 2 > questions unclear, hope to get your help. > > > 2. > Why gdt64 has following definition?: > > gdt64: > .word gdt_end - gdt > .long 0 > .word 0 >

Re: question about head_64.S

2019-01-16 Thread Cao jin
On 1/15/19 11:55 PM, Thomas Gleixner wrote: > On Tue, 15 Jan 2019, Cao jin wrote: > >> Hi, >> I have been digging into this file for a while, and I still have 2 >> questions unclear, hope to get your help. >> >> 1. >> At the entry of startup_64, we set all the data segment registers to 0, >> acc

Re: question about head_64.S

2019-01-15 Thread Thomas Gleixner
On Tue, 15 Jan 2019, Cao jin wrote: > Hi, > I have been digging into this file for a while, and I still have 2 > questions unclear, hope to get your help. > > 1. > At the entry of startup_64, we set all the data segment registers to 0, > according to commit 08da5a2ca("x86_64: Early segment setu

question about head_64.S

2019-01-15 Thread Cao jin
Hi, I have been digging into this file for a while, and I still have 2 questions unclear, hope to get your help. 1. At the entry of startup_64, we set all the data segment registers to 0, according to commit 08da5a2ca("x86_64: Early segment setup for VT"), it is said to accelerate the decompress