Method and apparatus for user-level thread synchronization with a monitor and MWAIT architecture

    公开(公告)号:US20170185458A1

    公开(公告)日:2017-06-29

    申请号:US14998217

    申请日:2015-12-24

    CPC classification number: G06F9/52 G06F12/0806 G06F2201/885 G06F2209/521

    Abstract: Instructions and logic provide user-level thread synchronization with MONITOR and MWAIT instructions. One or more model specific registers (MSRs) in a processor may be configured in a first execution state to specify support of a user-level thread synchronization architecture. Embodiments include multiple hardware threads or processing cores, corresponding monitored address state storage to store a last monitored address for each of a plurality of execution threads that issues a MONITOR request, cache memory to record MONITOR requests and associated states for addresses of memory storage locations, and responsive to receipt of an MWAIT request for the address, to record an associated wait-to-trigger state of monitored addresses for execution cores associated with an MWAIT request; wherein the execution core is to transition a requesting thread to an optimized sleep state responsive to the receipt of said MWAIT request when said one or more MSRs are configured in the first execution state.

Patent Agency Ranking