473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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

Nov 15 '05 #1
3 1184
On Tue, 26 Jul 2005 02:30:50 +0000 (UTC),
us*****@gmx-dot-de.no-spam.invalid (heinzSchmolke) wrote in
comp.lang.c:
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?).


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.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Nov 15 '05 #2
heinzSchmolke wrote:
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?).


http://www.gelato.unsw.edu.au/mailma...lato-technical
http://gcc.gnu.org/lists.html

Also, http://www.hpl.hp.com/research/linux/perfmon/
Nov 15 '05 #3
In article <dc**********@domitilla.aioe.org>,
heinzSchmolke <us*****@gmx-dot-de.no-spam.invalid> wrote:
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?


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

Why do i have to do this?

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: Tim Spujum | last post by:
Real men write their programs in pure assembler code. Sissies use C++.
3
by: fischerjd | last post by:
Is Microsoft still producing/releasing the Microsoft Macro Assembler (MASM)? I just installed Visual Studio .NET 2003 (p/o an MSDN/AA subscription) and apparently MASM is not provided/installed...
4
by: Neil Morris | last post by:
Hi I would like to know what the standard way to write a custom C library that links to assembler code? The reason is that, apart of been curious, I would like to know what format the C language...
3
by: verma_ashu | last post by:
hello friends, i need to design a small assembler in C language. but i donot know where to start. what machine to take as the environment for assembler or should i make a simulator also to run...
5
by: Daniel Gackle | last post by:
Will Whidbey will include the ability to put inline assembler into C# code? I found a previous thread in which it was implied that a future version of .NET would support this....
6
by: Gabest | last post by:
I'm asking this because I'd like to include a few (but often used) inline assembly code via marcos to make the whole thing a bit more readable, and more resistant to typos (by keeping the repeating...
2
by: mclagett | last post by:
Can anyone please help me figure out why all of a sudden (even after many restarts of Visual Studio 2005 and reboots, etc) I am no longer able to set breakpoints in the disassembler window. I...
16
by: horacius.rex | last post by:
Hi, I don't know if it is better to post this question to a C or C++ group, so my apologies. My general question: I have a very big C++ program (Main.cpp) which compiles on machine X with...
12
by: Peter Anthony | last post by:
There are times it would be good to be able to write assembly code to integrate with other VS languages, such as VS C++ .NET. For example, I might want to write a REALLY fast algorithm that does...
3
by: =?ISO-8859-1?Q?Glenn_M=F8ller-Holst?= | last post by:
Hi! How do I get generated ARM assembler from this compiler: #arm-elf-gcc -dumpversion 4.2.0 #arm-elf-gcc -dumpmachine arm-elf kind regards,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.