- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello to everybody
it's possible to optimize a C function in assembly For example : int myfunc(int a , int http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif { int c;# asm ... ...# end_asm return c; } like this not run , of course How it's possible writing something about this? thanks walter ciaoLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
in Nios I it was: asm("... ... ... ... "); i haven't tried it yet in Nios II. bye- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok thanks
yesterday i saw some documents about it May be the same ciao walter- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right....and, in reality, this has very little to do with the IDE and a whole lot more to do with the compiler toolchain: GCC. Along those lines, you really should be referencing something like the following:
gcc-inline-assembly-howto (http://www.ibiblio.org/gferg/ldp/gcc-inline-assembly-howto.html#s3) Cheers, - slacker
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page