Well... x should be a multiple of 8, and it serves as an index into the gdt. The instruction puts the selector (x) into cs, and the offset into eip (rip?). The "base" from the indexed descriptor is added to the offset to form a linear address, and it goes there. See the Intel/AMD manuals for details. We still in the Linux bootcode? There must be documentation for that(?)...
Best,
Frank