Re: [loongson-dev] Performance improvement patch for siliconmotion driver

2011-04-02 Thread 张福新
Apps might need instructions to use xv. For example, mplayer need -vo xv to use xv output, it will be much better than -vo x11 在我的手机发送 Roman Mamedov 编写: >On Sat, 2 Apr 2011 18:00:51 +0600 >Roman Mamedov wrote: > >> The patch (see attachment) is made against siliconmotion driver version >> 2.2.

Re: [loongson-dev] Performance improvement patch for siliconmotion driver

2011-04-02 Thread Roman Mamedov
On Sat, 2 Apr 2011 18:00:51 +0600 Roman Mamedov wrote: > The patch (see attachment) is made against siliconmotion driver version > 2.2.8, however I have checked the related parts in the current version > 1.7.3, and it looks like the code there is the same, so it should apply, > maybe with minor m

Re: [loongson-dev] Performance improvement patch for siliconmotion driver

2011-04-02 Thread 张福新
For the xor error,it seems the code has been optimized using lonngson specific instructs, a gcc 4.x is needed and -march,-mtune should be set to loongson.sorry I don't remember the exact flags. Ldc is for mips3 and aboves,your compiler is using mips1.use .set mips3 if it is assembly code, other

Re: [loongson-dev] Performance improvement patch for siliconmotion driver

2011-04-02 Thread Roman Mamedov
On Sat, 2 Apr 2011 18:00:51 +0600 Roman Mamedov wrote: > As for my problems with compiling, they are are: > -- > /tmp/ccUDjnFx.s: Assembler messages: > /tmp/ccUDjnFx.s:4469: Error: illegal operands `xor $f0,$f0,$f0' > /tmp/ccUDjnFx.s:4470: Error: opcode not supported on this processor: mips1 > (m