-
1.
公开(公告)号:US20210342152A1
公开(公告)日:2021-11-04
申请号:US17255001
申请日:2019-05-09
Applicant: Arm Limited
Inventor: Matthew James HORSNELL , Grigorios MAGKLIS , Richard Roy GRISENTHWAITE , Nathan Yong Seng CHONG
Abstract: An apparatus is described with support for transactional memory and load/store-exclusive instructions using an exclusive monitor indication to track exclusive access to a given address. In response to a predetermined type of load instruction specifying a load target address, which is executed within a given transaction, any exclusive monitor indication previously set for the load target address is cleared. In response to a load-exclusive instruction, an abort is triggered for a transaction for which the given address is specified as one of its working set of addresses. This helps to maintain mutual exclusion between transactional and non-transactional threads even if there is load speculation in the non-transactional thread.
-
公开(公告)号:US20190163902A1
公开(公告)日:2019-05-30
申请号:US16149297
申请日:2018-10-02
Applicant: Arm Limited
Inventor: Alastair David REID , Dominic Phillip MULLIGAN , Milosch MERIAC , Matthias Lothar BOETTCHER , Nathan Yong Seng CHONG , Ian Michael CAULFIELD , Peter Richard GREENHALGH , Frederic Claude Marie PIRY , Albin Pierrick TONNERRE , Thomas Christopher GROCUTT , Yasuo ISHII
Abstract: A data processing apparatus comprises branch prediction circuitry adapted to store at least one branch prediction state entry in relation to a stream of instructions, input circuitry to receive at least one input to generate a new branch prediction state entry, wherein the at least one input comprises a plurality of bits; and coding circuitry adapted to perform an encoding operation to encode at least some of the plurality of bits based on a value associated with a current execution environment in which the stream of instructions is being executed. This guards against potential attacks which exploit the ability for branch prediction entries trained by one execution environment to be used by another execution environment as a basis for branch predictions.
-