WBINVD--Write Back and Invalidate Cache

WBINVD--Write Back and Invalidate Cache

Opcode

Instruction

Description

0F 09

WBINVD

Write back and flush Internal caches; initiate writing-back and flushing of external caches.

Description

Writes back all modified cache lines in the processor's internal cache to main memory and invalidates (flushes) the internal caches. The instruction then issues a special-function bus cycle that directs external caches to also write back modified data and another bus cycle to indicate that the external caches should be invalidated.

After executing this instruction, the processor does not wait for the external caches to complete their write-back and flushing operations before proceeding with instruction execution. It is the responsibility of hardware to respond to the cache write-back and flush signals.

The WBINVD instruction is a privileged instruction. When the processor is running in protected mode, the CPL of a program or procedure must be 0 to execute this instruction. This instruction is also a serializing instruction (see "Serializing Instructions" in Chapter 7 of the IA-32 Intel ® Architecture Software Developer's Manual, Volume 3).

In situations where cache coherency with main memory is not a concern, software can use the INVD instruction.

Intel ® Architecture Compatibility

The WBINVD instruction is implementation dependent, and its function may be implemented differently on future Intel ® Architecture processors. The instruction is not supported on Intel ® Architecture processors earlier than the Intel486 ™ processor.

Operation

WriteBack(InternalCaches );
Flush(InternalCaches);
SignalWriteBack(ExternalCaches );
SignalFlush(ExternalCaches);
Continue (* Continue execution);

Flags Affected

None.

Protected Mode Exceptions

#GP(0) - If the current privilege level is not 0.

Real-Address Mode Exceptions

None.

Virtual-8086 Mode Exceptions

#GP(0) - The WBINVD instruction cannot be executed at the virtual-8086 mode.

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值