[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Jtag Debug



Friends,

Yea in terms of software I have not gone back to make sure the C-code is optomized to make use of the FPU. I know it makes some use of it, but I havent brought it to its fullest extent. The DSP board was doing it in software so I figured all things being equal, doing it in software would provide better comparrison. In the final design we prolly will lump the larger math fucntions into dedicated FSL blocks, but some of it will undoubtedly be carried by the microblaze. I would consider converting 5 or 6 24-bit audio samples to be comperable to the level of arithmetic that I'm doing. Im gonna spend some time next week tuning the code to see how much more performance i can get.

Thanks,
Andy

From: John Williams <jwilliams@xxxxxxxxxxxxxx>
Reply-To: microblaze-uclinux@xxxxxxxxxxxxxx
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] Jtag Debug
Date: Fri, 28 Oct 2005 08:47:00 +1000

Hi John, Andy,

John McGrath wrote:
> Hi,
> I Don't know if this has been pointed out already, but have you enabled the cache's in your code?
>
> I do not have experience with doing DSP in a microblaze, but does anyone else have benchmark figures for such operations? I know that it can be tremendously accelerate using the FSL interface and some dedicated hardware, > but for a SW only implementation, someone may have figures faster than one per second!

We've done real-time, SW-only Dolby 5.1 decode in MicroBlaze, running
under uClinux.  The FPU is enabled, of course, and the code is carefully
audited to enforce single-precision arithmetic.

As someone has already pointed out, all floating point constants must be
specified with a trailing "F" character (e.g. 2.0F) else the compiler
will default to double precision and performance falls through the floor.

Cheers,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/