On Mon, May 14, 2012 at 10:10 AM, 陳韋任 <che...@iis.sinica.edu.tw> wrote: > On Sun, May 13, 2012 at 09:04:39PM +0000, Blue Swirl wrote: >> Hi, >> >> A preview of x86 AREG0 patches can be found at the usual place: >> URL git://repo.or.cz/qemu/blueswirl.git >> http://repo.or.cz/r/qemu/blueswirl.git >> >> This is obviously 1.2 material. > > Is this patch will remove AREG0 so that we can use clang to compile QEMU?
That should be possible eventually. I have only used clang analyzer, not the compiler. Besides AREG0 (register variables), other GCC extensions like variable length arrays need fixing but that should be trivial. > How much the performance lose? Probably less than 10%. Repeatable performance tests would be nice. > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 > Homepage: http://people.cs.nctu.edu.tw/~chenwj