mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
[PowerPC] Modern Book-E cores support sync
Older Book-E cores, such as the PPC 440, support only msync (which has the same encoding as sync 0), but not any of the other sync forms. Newer Book-E cores, however, do support sync, and for performance reasons we should allow the use of the more-general form. This refactors msync use into its own feature group so that it applies by default only to older Book-E cores (of the relevant cores, we only have definitions for the PPC440/450 currently). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -109,6 +109,7 @@ void PPCSubtarget::initializeEnvironment() {
|
||||
HasPOPCNTD = false;
|
||||
HasLDBRX = false;
|
||||
IsBookE = false;
|
||||
HasOnlyMSYNC = false;
|
||||
IsPPC4xx = false;
|
||||
IsPPC6xx = false;
|
||||
IsE500 = false;
|
||||
|
||||
Reference in New Issue
Block a user