« first day  last day (15 days later) » 

12:27 AM
but now that I'm thinking of it, it should be 4x since the reg count doubled too
@Mysticial - I'm not seeing evidence that Skylake (client) can reclaim unused regs before retirement
In particular I ran ./robsize 11 which is a test that does a series of
xorps xmm0, xmm1;
xorps xmm1, xmm2;
xorps xmm2, xmm3;

looping around after 8 regs, and it definitely shows the big jump in runtime (i.e., two cache misses) at around 156
whereas tests with nops or reg-reg movs or other things that don't consume phys regs go to ~220 before the jump
 
 
2 hours later…
2:33 AM
I ran test 19 and 26 on Skylake-W this is a test with cache misses and a long series of independent vpxor ops in beteween so you just look for the jump to see how big the PRF is
26 is a new test I added that uses zmm regs
both tests spike right around 150 which is the same as my SKL box
so I don't see any evidence of early freeing of physical registers (since this test should show it since we continually overwrite the same 8 regs), and also no evidence of some kind of combining 256-bit regs to make a 512-bit zmm (halving the PRF size)
 
3:40 AM
I changed my test to use floating-point instead. Since it takes 8 parallel FP instructions to saturate the ports, it extends the range of the test. My observations are:
- If the sequence is too large to fit in the ROB, the difference between 256-bit and 512-bit is 18%.
- If the sequence fits into the ROB, the difference is 23%.
They both seem to degrade together.
IOW, evidence that either the 512-bit register file is in fact the full thing (and not pairwise combined of 256-bit parts).
Or even the reduced size of the 512-bit PRF is still large enough.
But running a few numbers, it does seem to hint at it being able to handle 160+ live 512-bit values.
 
 
1 hour later…
5:03 AM
Yeah that seems consistent with my results.
 

« first day  last day (15 days later) »