intel

Intel Assembler optimization

I'm currently trying to optimize the code emitted from a home-made compiler, for a home-made language. I've tried out Intel VTune to see where the bottlenecks are: http://www.imada.sdu.dk/~sorenh07/misc/vtune-assembly-optimization.png I find it very impressive that a "subl"-instruction is responsible for over 38% of the clockticks in a...

Intel 8086 processor

I am taking a hardware class than involves a lab, the lab is about Intel 8086 processors and I have a lab final tomorrow. Other than the information provided in the lab, what other sources can you provide me with to study for it (done the labs, need more resources, code, slides, and experiments to try on my own machine)? ...

Intel and AT&T assembly syntax highlighting in TextMate

How do I get Intel and AT&T assembly syntax highlighting in TextMate? ...

How is the implicit segment register of a near pointer determined?

In section 4.3 of Intel 64® and IA-32 Architectures Software Developer's Manual. Volume 1: Basic Architecture, it says: A near pointer is a 32-bit offset ... within a segment. Near pointers are used for all memory references in a flat memory model or for references in a segmented model where the identity of the segment being accessed...

Are the Intel compilers worth it?

Prety straight forward, are the Intel compilers worth getting? I do mostly systems level and desktop work so I figure I might benefti. Can anyone with some more experience shed some light? ...

how to return NULL for double function with Intel C compiler?

I have some code that I am porting from an SGI system using the MIPS compiler. It has functions that are declared to have double return type. If the function can't find the right double, those functions return "NULL" The intel C compiler does not like this, but I was trying to see if there is a compiler option to enable this "feature" s...

CMake - Generating Visual Studio project using Intel Compiler

Is there a simple (or hack) way to generate a Visual Studio 2008 project that uses Intel Compiler from cmake? I have found some notes about using ICProjConvert. Does anyone have any scripts or CMake snippets that are proven to work? Here's the screenshot of the final solution I'd like to obtain. Note that it contains Intel Compiler pr...

C#: how to obtain the current clock speed of an Intel i-series CPU when TurboBoost is activated

I know that it's possible to get this information - Intel's own TurboBoost sidebar gadget appears to use an ActiveX control to determine the current clock speed of an i3/i5/i7 CPU when TurboBoost is active. However, I'm wanting to do this programmatically in C# - obtaining the CurrentClockSpeed value from WMI tops out at the set maximum ...

Calculating ABSOLUTE ADDRESS / Registry values in Assembler (Intel 8086)

Hi guys. I know the ABSOLUTE ADDRESS of the next instruction is located 50000 (hex), and I know that the hex value that should be in the IP Register is 4000 (hex). My question is... Why does it work like this? I have the other registry values available if they're needed. Any idea? ...

Compile Nginx on Intel Atom

Are there any special options to compile nginx for Intel Atom CPU ? I saw an option called --with-cpu-opt the possible values are : pentium, pentiumpro, pentium3, pentium4, athlon, opteron, sparc32, sparc64, ppc64, but I don't see Intel Atom here ...

check if carry flag is set

Using inline assembler [gcc, intel, c], how to check if the carry flag is set after an operation? ...

Intel TBB license

I'm a bit confused over the Intel Threading Building Blocks commercial vs open source license. The open source version is licensed under GPLv2 with the runtime exception, but what does that imply in plain english? Can it be used in a commercial, closed source application as long as it just links with the unmodified .dlls? ...

ifort linker undefined reference

I'm compiling a large HPC system written in Fortran using the Intel compiler (ifort). There are about several hundred individual modules and they all compile fine, but the linker throws up this error: phys_grid.o(.text+0x91b2): In function `phys_grid_mp_assign_chunks_': : undefined reference to `_mm_idivrem_epi32' The _mm_idivrem_epi3...

In Intel x86 assembly, what does 00+ mean?

In the Intel documentiation manuals, I see references to 00+ multiple places, but no definition. What is this 00+ instruction/opcode? ...

Should I run my regression testing programs on both AMD and Intel chips?

Right now I plan to test on 32-bit, 64-bit, Windows XP Home, Windows XP Pro, Windows Vista Home Basic, Windows Vista Ultimate, Windows 7 Home Basic, and Windows 7 Ultimate ... all with the latest service pack. However, now I'm wondering if it's worthwhile to test on both AMD and Intel for all the listed scenarios above or would it be a...

Variables Behaving Oddly (Intel 8086)

Edit: Answered my own question. See below. -_- I have a variable defined in the .data segment as follows: retVal DW 0100h ;stores hex fraction of the intermediate value. Starts at 1.00 This is the value that I add or subtract to to get my return value. The first time it shows up in the code segment is at the following point: sub [...

How can I tell which driver Xorg is using for my video card?

I downloaded and compiled the latest intel video drivers as mine seems to have issues, I installed with prefix as /usr/local. Then I added the appropriate Section "Device" Identifier "devname" Driver "intel" EndSection How can I tell if it's using my new compiled driver or something that comes with my distro? What Xorg command dis...

Is Intel Software Development Suite worth the cost ?

(this is a partial duplicate of Are the Intel compilers worth it?) The Intel Software Development Suite includes the C++ compiler, IPP, VTune, Thread Checker. The Intel Parallel Studio includes the composer, the inspector and the amplifier. Those two packages cost almost $4000, but I'll still be a student for 1 month and as such pas on...

Pointers and Indexes in Intel 8086 Assembly

I have a pointer to an array, DI. Is it possible to go to the value pointed to by both DI and another pointer? e.g: mov bl,1 mov bh,10 inc [di+bl] inc [di+bh] And, on a related note, is there a single line opcode to swap the values of two registers? (In my case, BX and BP?) ...

Is using double faster than float?

Double values store higher precision and are double the size of a float, but are Intel CPUs optimized for floats? That is, are double operations just as fast or faster than float operations for +, -, *, and /? Does the answer change for 64-bit architectures? ...