how to insert a assembler-sequence for itanium2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • heinzSchmolke

    #1

    how to insert a assembler-sequence for itanium2

    Hello,

    i'm working on an itanium2-workstation and want to insert a
    assembler-routine to read out the clocktime to measure the speed of
    some computation. How do i have to do this? The compiler is gcc (for
    a later change: are the commands for icc the same?).

    Thanks and greets,
    Heinz

  • Jack Klein

    #2
    Re: how to insert a assembler-sequence for itanium2

    On Tue, 26 Jul 2005 02:30:50 +0000 (UTC),
    usenett@gmx-dot-de.no-spam.invalid (heinzSchmolke) wrote in
    comp.lang.c:
    [color=blue]
    > Hello,
    >
    > i'm working on an itanium2-workstation and want to insert a
    > assembler-routine to read out the clocktime to measure the speed of
    > some computation. How do i have to do this? The compiler is gcc (for
    > a later change: are the commands for icc the same?).[/color]

    You are asking in the wrong place. The topic here is the ANSI/ISO
    standard C language, and C does not define any interface to any other
    language at all, including assembly language. All such usage is
    non-standard, and compiler specific.

    Ask in groups that support the compiler involved, it is not a language
    issue.

    --
    Jack Klein
    Home: http://JK-Technology.Com
    FAQs for
    comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
    comp.lang.c++ http://www.parashift.com/c++-faq-lite/
    alt.comp.lang.l earn.c-c++

    Comment

    • Grumble

      #3
      Re: how to insert a assembler-sequence for itanium2

      heinzSchmolke wrote:[color=blue]
      > i'm working on an itanium2-workstation and want to insert a
      > assembler-routine to read out the clocktime to measure the speed of
      > some computation. How do i have to do this? The compiler is gcc (for
      > a later change: are the commands for icc the same?).[/color]




      Also, http://www.hpl.hp.com/research/linux/perfmon/

      Comment

      • Kenny McCormack

        #4
        Re: how to insert a assembler-sequence for itanium2

        In article <dc478p$bab$1@d omitilla.aioe.o rg>,
        heinzSchmolke <usenett@gmx-dot-de.no-spam.invalid> wrote:[color=blue]
        >Hello,
        >
        >i'm working on an itanium2-workstation and want to insert a
        >assembler-routine to read out the clocktime to measure the speed of
        >some computation. How do i have to do this?[/color]

        I think it is more likely to be idiomatically correct to say:

        Why do i have to do this?

        Comment

        Working...