[alsa-devel] [PATCH] soc/sh: help GCC improve generated code

Takashi Iwai tiwai at suse.de
Tue Nov 6 08:59:54 CET 2007


At Mon, 5 Nov 2007 20:03:59 +0100,
Manuel Lauss wrote:
> 
> >From 22874e1b6db03fd42339f974fc5ea81190e7968d Mon Sep 17 00:00:00 2001
> From: Manuel Lauss <mano at roarinelk.homelinux.net>
> Date: Mon, 5 Nov 2007 19:51:45 +0100
> Subject: [PATCH] ASoC: sh: improve generated code for HAC module (AC97)
> 
> Change loops in ac97_read/write functions to count down to zero
> rather than up. Gcc will then use the 'dt' (decrement-and-test) op
> instead of an increment/compare op-pair.
> 
> Signed-off-by: Manuel Lauss <mano at roarinelk.homelinux.net>

Thanks, applied to ALSA tree now.


Takashi


More information about the Alsa-devel mailing list