Re: [PATCH 5/9] i386: Add address spaces for fs/gs segments

2015-10-18 Thread Richard Henderson
On 10/16/2015 05:28 AM, Paolo Bonzini wrote: On 08/10/2015 06:59, Richard Henderson wrote: +/* Address space support. + + This is not "far pointers" in the 16-bit sense, but an easy way + to use %fs and %gs segment prefixes. Therefore: + +(a) All address spaces have the same modes, +

Re: [PATCH 5/9] i386: Add address spaces for fs/gs segments

2015-10-16 Thread Paolo Bonzini
On 08/10/2015 06:59, Richard Henderson wrote: > +/* Address space support. > + > + This is not "far pointers" in the 16-bit sense, but an easy way > + to use %fs and %gs segment prefixes. Therefore: > + > +(a) All address spaces have the same modes, > +(b) All address spaces have the

[PATCH 5/9] i386: Add address spaces for fs/gs segments

2015-10-07 Thread Richard Henderson
* config/i386/i386-protos.h (ADDR_SPACE_SEG_FS): New. (ADDR_SPACE_SEG_GS): New. * config/i386/i386-c.c (ix86_target_macros): Define __SEG_FS and __SEG_GS. (ix86_register_pragmas): Register address spaces. * config/i386/i386.c (ix86_print_operand_addr