Re: [dev-servo] RFC: Using fixed-point for percentages

2014-04-16 Thread Patrick Walton
On 4/16/14 1:11 AM, Simon Sapin wrote: On 15/04/2014 06:00, Patrick Walton wrote: Hi everyone, I'm considering using 32-bit fixed-point (16 bits for the fraction, 16 bits for the integer portion) for percentages in CSS. The reason is that we can use the following four SSE4/AVX instructions on x

Re: [dev-servo] RFC: Using fixed-point for percentages

2014-04-16 Thread Simon Sapin
On 15/04/2014 06:00, Patrick Walton wrote: Hi everyone, I'm considering using 32-bit fixed-point (16 bits for the fraction, 16 bits for the integer portion) for percentages in CSS. The reason is that we can use the following four SSE4/AVX instructions on x86 to compute two sides at once: ;