[alsa-devel] [PATCH] soc/sh: help GCC improve generated code
6 Nov
6 Nov
8:59 a.m.
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@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@roarinelk.homelinux.net
Thanks, applied to ALSA tree now.
Takashi
6256
Age (days ago)
6257
Last active (days ago)
1 comments
2 participants
participants (2)
-
Manuel Lauss
-
Takashi Iwai