摘要 |
A computer (2, fig. 1) comprises processing circuitry to perform operations in response to program instructions, e.g. to access memory (6, fig. 1). The processing circuitry has domains of operation including a secure and a less secure domain. When operating in the secure domain the processing circuitry has access to data not accessible when operating in the less secure domain. Prediction circuitry 42 is coupled to the processing circuitry and is configured to generate a domain prediction: whether a given processing action should be performed associated with the secure or the less secure domain. The processing circuitry performs the processing action based upon the domain prediction. Preferably, at least one of the domains has a plurality of privilege levels so that in a first privilege level access permissions are different from in a second privilege level (fig. 1). Thus, typically, either secure domain or less secure domain memory permission data can be used to control access to memory and different access permissions can be provided according to privilege level. A domain indicator, indicating the domain an operation, may be compared with the domain prediction and, if they do not match, results based on the prediction discarded and processing retried based on the domain indicator. |