[LAD] Denormals, Re: Routing signals in mixer (Ardour, Qtractor)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Thursday, July 15, 2010 - 6:13 pm

[James Morris]

>On 15 July 2010 18:23, Harry Van Haaren wrote:

0 : n;

I can't seem to remember the most sensible numeric limit for this=20
branching variant of denormal removal -- besides, it obviously depends=20
on the context in question and the use of floats versus doubles (as=20
does the use of fabsf versus fabs in what follows) -- but I am quite=20
positive that the following line, which replaces the above one, is not=20
only easier to read, but also stands a good chance of executing=20
quicker on most contemporary CPUs due to the elimination of at least=20
one branching instruction:

=09n =3D fabs(n) < 1e-9 ? 0 : n;=20

Cheers, Tim

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 7:49 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Jeremy Jongepier, (Wed Jul 7, 9:32 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Jeremy Jongepier, (Wed Jul 7, 9:50 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Jeremy Jongepier, (Wed Jul 7, 12:55 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Mon Jul 12, 5:26 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Mon Jul 12, 6:27 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Thu Jul 15, 12:22 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Harry Van Haaren, (Thu Jul 15, 5:23 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), James Morris, (Thu Jul 15, 5:32 pm)
[LAD] Denormals, Re: Routing signals in mixer (Ardour, Qtrac..., Tim Goetze, (Thu Jul 15, 6:13 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Harry Van Haaren, (Thu Jul 15, 5:39 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Thu Jul 15, 5:49 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Jeremy Jongepier, (Fri Jul 23, 11:12 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Rui Nuno Capela, (Mon Jul 12, 8:30 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Rui Nuno Capela, (Mon Jul 12, 10:37 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Mon Jul 12, 8:35 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Thu Jul 15, 12:07 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Mon Jul 12, 3:08 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Mon Jul 12, 12:05 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Thu Jul 15, 11:59 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Rui Nuno Capela, (Wed Jul 7, 1:15 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Rui Nuno Capela, (Wed Jul 7, 6:38 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 6:40 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 6:46 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 6:49 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 7:01 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 5:41 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 5:46 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Jeremy Jongepier, (Wed Jul 7, 2:40 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 8:52 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Natanael Olaiz, (Wed Jul 7, 8:05 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 8:08 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 8:15 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 8:07 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Natanael Olaiz, (Wed Jul 7, 9:06 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 9:12 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Natanael Olaiz, (Wed Jul 7, 9:24 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 9:25 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Natanael Olaiz, (Wed Jul 7, 9:38 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Jeremy Jongepier, (Wed Jul 7, 9:54 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 10:59 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Jeremy Jongepier, (Wed Jul 7, 12:37 pm)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 11:00 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 9:15 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 9:18 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 9:18 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Louigi Verona, (Wed Jul 7, 9:19 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 9:25 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 8:11 am)
Re: [LAD] Routing signals in mixer (Ardour, Qtractor), Ralf Mardorf, (Wed Jul 7, 8:03 am)