assembly - What is the "EU" in x86 architecture? (calculates effective address?) -
I have read somewhere that effective address (such as in Liei education) is calculated by "EU" in x86 instructions . What is the European Union? What is really involved in calculating an effective address?
I only learned about the MC68k instruction set (UC Boulder first teaches) and I can not get a good x86 webpage through Google = /.
Thank you!
"EU" is the common word for the execution unit. ALU is an example of an execution unit. FADD and FMUL, i.e. floating point connector or multiplier, are other examples - as, in this case, the memory unit (IP) for the load and the stock.
There are EU ALUs relevant to the LEA's instructions (add, subtract, and / or, etc.) and Egu (Address Building). The AGU is coupled with memory pipelines, TLB, data cache, etc.
When I wrote the first codex guide for a normal Intel x86 CPU back, 2 ALUs, a loaded pipeline that was made from a store, AGO, a second address connected to ALU pipeline and a store The data pipeline has the highest 3 or 4 ALUs by 2016.
The LEA3 input instruction is - like Besarge + Index reggae * Scale + offset bus x86 memory addressing mode, which is actually 4D input, segment base, which is not part of LIA calculation. 3 input costing more than 2 inputs required for ADD.
On some machines, ALU can only perform 2 input operations, so LIA can only execute on an AGU, especially for loading AGU (because the store ALU does not register a register is). This can mean that you can not do LOA at the same time, or two LAO at the same time, while you can add and load two in a single cycle.
On other machines, the LEA can be done by one or two or three of ALU. Probably rather than ALU, it probably proves to be more flexible than ALU.
Or, simple AIA, such as reg scale + offset, can be done on ALU, while the largest LEs, such as brake + Rig scale + offset, may be restricted Can be broken, or possibly even in two oops.
So, the question comes down: Which EU (execution unit) handles the LEA? ALU or Egu? The answer depends on the machine. In the optimization guide, the generic text can say "EU" instead of "Auu or ALU" instead of "AUU or ALU", or "whatever EU is capable of dealing with that particular LEA".
Comments
Post a Comment