Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7942 Discussions

Schedule IA-64 code with ecc toolchain?

Intel_C_Intel
Employee
320 Views
Is it possible to use the IA-64 ecc tools to do any form of scheduling of assembler code.
I can't find any hints in the documentation (but I know there are undocumented features :-)

Does any one have any suggestion for tools to schedule IA64 assembler?

/Tommy
0 Kudos
2 Replies
david_a_levinthal
320 Views
are you trying to create an inline asm?
only mechanism for that is to create an asm function and then get the compiler to inline it with IP/IPO & maybe pgo
or better use the inline, __inline or __forceinline declarations to force inlining of the asm sequence
is that what you mean?
alternatively..
:-)
build an asm file (with the -use_asm flag to get an asm listing that can be recompiled..)
edit the assembler
create an obj with
ias -W DVLoc_off myfile.asm
and link your program again
0 Kudos
Intel_C_Intel
Employee
320 Views
No, I am aware of the fact that ecc doesn't support inline assembler for IA64 so I'm not trying to do inline.

I have a program generator that generates assembler (and no, rewriting it to generate high level languages is not an option).
Making the generator generate scheduled assembler is a too big effort so I was hopping for something that could take an assembler file and help me with getting a scheduled object file.

I haven't tried IPO and inlining yet, but if that works there MUST be some functionality somewere, that takes an assembler (or binary) file and parses it into a context that does scheduling. If that is the case it should be possible to get my assembler in there without wrapping a high level context around it :-)

The last suggestion doesn't help at all, since ias only does bundling and/or dependecy violation ananlysis, but NO scheduling
(and turning the dependecy violation check of does not improve the situation the slightest, quite the opposite actually).

/Tommy
0 Kudos
Reply