intel

gnu assembler: get address of label/variable [INTEL SYNTAX]

Hi guys. I have a code like this: .bss woof: .long 0 .text bleh: ...some op codes here. now I would like to move the address of woof into eax. What's the intel syntax code here for doing that? The same goes with moving bleh's address into, say, ebx. Your help is much appreciated! ...

Does using an Intel register for its "intended purpose" increase efficiency?

This article claims that each register has an intended purpose and more importantly, When the engineers at Intel designed the original 8086 processor, they had a special purpose in mind for each register. As they designed the instruction set, they created many optimizations and special instructions based on the function ...

Intel® Atom™ Developer Program

I am a devlopere and i saw Intel® Atom™ Developer Program ads on stackoverflow. I have read the details but dont know if it is worth joining. Is it worh joining ?? http://appdeveloper.intel.com/en-us/ ...

Optimisation , Compilers and Its Effects

(i) If a Program is optimised for one CPU class (e.g. Multi-Core Core i7) by compiling the Code on the same , then will its performance be at sub-optimal level on other CPUs from older generations (e.g. Pentium 4) ... Optimizing may prove harmful for performance on other CPUs..? (ii)For optimization, compilers m...

IPP linker errors on cygwin

I've built a program that uses mkl and ipp that runs on mac and linux. I'm now building that program for Windows using cygwin and gcc, and can't get it to link. The errors I'm getting are: Warning: .drectve -defaultlib:"uuid.lib" ' unrecognized ../../../bin/libMath.a(VectorUtility.cxx.o):VectorUtility.cxx:(.text+0x95): undefi...

Intel Performance Primitive (IPP) runtime error

I have source code that was not written by me, and I cannot contact the author. It is written in C++ and requires libjpeg, boost, and the Intel Performance Primitives. Compilation was a chore, but after days of problem solving, it compiles. Now, I get the following runtime error: error while loading shared libraries: libippi.so.5.1: can...

Dummy operations handling of Intel processor

Hello, Admittedly, I have a bit silly question. Basically, I am wondering if there are some special mechanisms provided by Intel processors to efficiently execute a series of dummy, i.e., NOP instructions? For instance,I could imagine there could be some kind of pre-fetch mechanism that identifies NOPS, discards them and tries to fetch ...

Outliers during Performance Evaluation

Hello all, I am trying to do some performance measurements using Intels RDTSC, and it is quite odd the variations I get during different testruns. In most cases my benchmark in C needs 3000000 Mio cycles, however, exactly the same execution can in some cases take 5000000, almost double as much. I tried to have no intense workloads runni...

How can I determine the chipset of the computer that my program is running on using C#

I need my code to behave differently dependent on the chipset of the computer it is running on. How can I determine this using C#. Specifically Intel 945 vs 965. ...

Numeric code porting powerpc to intel gives different results using float.

My essential problem is how to make arithmetic with floats on x86 behave like a PowerPC, going from Classic MacOS (CodeWarrior) to Windows (VS 2008). The code in question, of which there is a lot, has a pile of algorithms which are highly iterative and numerically very sensitive. A typical complex line is: Ims_sd = sqrt((4.0*Ams*sqr(n...

How do interrupts work on the Intel 8080?

How do interrupts work on the Intel 8080? I have searched Google and in Intel's official documentation (197X), and I've found only a little description about this. I need a detailed explanation about it, to emulate this CPU. ...

How might I convert Intel 80386 Machine Code to Assembly Language?

I've been given the following task: Consider the following sequence of hexadecimal values: 55 89 E5 83 EC 08 83 E4 F0 31 C9 BA 01 00 00 00 B8 0D 00 00 00 01 D1 01 CA 48 79 F9 31 C0 C9 C3 This sequence of bytes represents a subroutine in Intel 80386 machine language in 32-bit mode. When the instructions in this subro...

Atomic Increment & Fetch

Hi, I'm looking for a way to atomically increment a short, and then return that value. I need to do this both in kernel mode and in user mode, so it's in C, under Linux, on Intel 32bit architecture. Unfortunately, due to speed requirements, a mutex lock isn't going to be a good option. Is there any other way to do this? At this point, ...

Do x86/x64 chips still use microprogramming?

If I understand these two articles, the Intel architecture, at it's lowest level, has transitioned to using RISC instructions, instead of the the traditional CISC instruction set that Intel is known for: http://www.hardwaresecrets.com/article/235/4 http://www.tomshardware.com/reviews/intel,264-6.html If that's the case, then are x86/x64...

How to compile application for wince 5.0 x86 using VS

Hello, i was looking for a way of compiling application for wince 5.0 x86 using VS. I found a thread http://stackoverflow.com/questions/1313001/intel-c-compiler-for-windows-ce where you mentioned ... "For Windows CE based on x86 architecture probably yes.... we just need to use general windows compiler." I was wondering if you could p...

What does "Embedded" mean?

I notice that Core i3-330M is specified as "Embedded" while the Core i5-430 is not. What technically does "Embedded" mean? Here is where I see the speicfication: i3-330M: http://ark.intel.com/Product.aspx?id=47663 i5-430M: http://ark.intel.com/Product.aspx?id=43537 ...

Mac OS X: Intel vs. PPC marketshare

I was looking at my plugins, and ended up looking at Silverlight on several Mac systems. What I noticed (from Wikipedia), was that only Silverlight 1 runs on PPC. Without knowing about the technical details and trade-offs, I was surprised. On its face, if you build Silverlight 1 for PPC and Intel, would it have been hard to continue to ...

intel machine code to assembly code question.

hello,experts,i wonder the intel x86 machineCode/assemblyCode conversion is singleSide or bothSide? means: assemblyCode ---> machineCode and machineCode ---> assemblyCode are both available. since the x86 machineCode is vary in size (1-15 byte),and opcode vary in (1-3 byte),how to determine one opcode is 1byte or 2byte or 3byte ? and...

Xcode xcconfig file and build rules

I have an Xcode project that contains many sub-projects. The main project file and all sub-projects have the same xcconfig file. Some of the sub-projects currently have a build rule set on them to use the Intel compiler for C++ files. I'm wondering if there is a way to move this build rule into the xcconfig file so that I can easily turn...

API for Asus 1005pe control backlight programmably?

I'm using VS2008, my OS is Win7. I tried WinAPI IOCTL_VIDEO_QUERY_SUPPORTED_BRIGHTNESS on my netbook. I can retrive a correct the LCD handle, but DeviceIoControl returns 0. I haven't found any APIs for GMA 3150 either. ...