intel

What are the costs of failed store-to-load forwarding on x86?

我怕爱的太早我们不能终老 提交于 2019-12-14 01:38:37
问题 What are the costs of a failed store-to-load forwarding on recent x86 architectures? In particular, store-to-load forwarding that fails because the load partly overlaps an earlier store, or because the earlier load or store cross some alignment boundary that causes the forwarding to fail. Certainly there is a latency cost: how big is it? Is there also a throughput cost, e.g., does a failed store-to-load forwarding use additional resources that are then unavailable to other loads and stores,

Intel i7 replacement and possible programming [closed]

对着背影说爱祢 提交于 2019-12-13 23:21:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . My Toshiba laptop has just broken, I want to take out its CPU (intel i7) and place it onto my old desktop (it has windows XP). how can I remove the CPU? Do I need to reporgram my CPU for Windows XP? Can you list what stuff I need for it? 回答1: there is a very large amount of sarcasm happening here that you

old Fortran “shared” feature in open() causing open file failure

六眼飞鱼酱① 提交于 2019-12-13 21:19:21
问题 I am using a code which is written in very old Fortran language. There are some lines using the shared option in the open() routine. E.g.: OPEN(UNIT=17,STATUS='OLD',FORM='UNFORMATTED',READONLY,SHARED) The compilation is ok. When running on one machine, it is ok. But later I moved to another machine, it gives the error: forrtl: Function not implemented forrtl: severe (30): open failure, unit 17, file The compiler I use is the Linux version of intel Fortran 14.0.3 on both of the machine. When

How to apply GoogleColab stronger CPU and more RAM?

你离开我真会死。 提交于 2019-12-13 20:24:02
问题 I use GoogleColab to test data stuctures like chain-hashmap,probe-hashmap,AVL-tree,red-black-tree,splay-tree(written in Python),and I store very large dataset(key-value pairs) with these data stuctures to test some operation running time,its scale just like a small wikipedia,so run these python script will use very much memory(RAM),GoogleColab offers a approximately 12G RAM but not enough for me,these python scripts will use about 20-30G RAM,so when I run python program in GoogleColab,will

Why is the AVX-256 VMOVAPS Instruction only copying four single precision floats instead of 8?

这一生的挚爱 提交于 2019-12-13 19:07:45
问题 I am trying to familiarize myself with the 256-bit AVX instructions available on some of the newer Intel processors. I have already verified that my i7-4720HQ supports 256-bit AVX instructions. The problem I am having is that the VMOVAPS instruction, which should copy 8 single precision floating point values, is only copying 4. dot PROC VMOVAPS YMM1, ymmword ptr [RCX] VDPPS YMM2, YMM1, ymmword ptr [RDX], 255 VMOVAPS ymmword ptr [RCX], YMM2 MOVSS XMM0, DWORD PTR [RCX] RET dot ENDP In case you

Intel c/c++ compiler: “could not locate executable icc” (and ecc)

左心房为你撑大大i 提交于 2019-12-13 17:06:55
问题 I recently installed a Intel's c/c++ compiler for linux: "Intel® C++ Composer XE for Linux". When i was doing the installation, only marked the options(or packages) relates to the compiler and debugger, and said to the instaler that i will compile 64bit aplications. Now when i try to compile a program i get: meniwis@meniwis-Satellite-L845:~/syscave/src/c-ext/code$ ./build.sh Could not locate executable icc Could not locate executable ecc INFO:root:using /opt/alges/ as sqlite3 directory INFO

OpenCL on Linux with integrated intel graphic chip

ε祈祈猫儿з 提交于 2019-12-13 15:22:56
问题 I would like to use OpenCL on debian 8. I read on this page that Intel's GPUs are not supported on linux. (The article is from 2011, so I hope it is out of date.) I already installed OpenCL nontheless and can run compile and run the code found here. As to my hardware. My processor is Intel(R) Core(TM) i7-4500 CPU @ 1.80GHz lspci | grep VGA outputs 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) So to clearify: I want to know, if it is

c++ gcc inline assembly does not seem to work

旧城冷巷雨未停 提交于 2019-12-13 11:10:13
问题 I am trying to figure out gcc inline assembly on c++. The following code works on visual c++ without % and other operands but i could not make it work with gcc void function(const char* text) { DWORD addr = (DWORD)text; DWORD fncAddr = 0x004169E0; asm( "push %0" "\n" "call %1" "\n" "add esp, 04" "\n" : "=r" (addr) : "d" (fncAddr) ); } I am injecting a dll to a process on runtime and fncAddr is an address of a function. It never changes. As I said it works with Visual C++ VC++ equivalent of

Does AT&T syntax work on intel platform?

穿精又带淫゛_ 提交于 2019-12-13 09:47:19
问题 I'm learning assembly. I know that gcc supports at&t syntax but i want my program to run on intel processors. So would it work on intel processors regardless the syntax or it must be intel syntax to work on intel platform!! i'm confused?? Thanks. 回答1: att vs intel syntax has been covered many times, here and other places. Assembly language is a language defined by the assembler, the particular program used to convert the ASCII assembly language into machine code for the particular target you

Rdrand instrucrtion SIGILL

霸气de小男生 提交于 2019-12-13 07:39:21
问题 Cpuid says that I have rdrand on my system, but rdrand instruction throws sigill. I'm using linux mint inside VmWare workstation 11, I googled workstation support of rdrand, and they say that it enabled since 9th version. Proccess of host is i5-2550k and it should support rdrand. Can I somehow fix this? Here is gdb listing: Breakpoint 1, 0x08048060 in _start () (gdb) x/5i $eip => 0x8048060 <_start>: mov $0x1,%eax 0x8048065 <_start+5>: cpuid 0x8048067 <_start+7>: rdrand %eax 0x804806a <_start