PTW now does not require atomic memory operations, so take out the requirement (#767)

Bug fix in CSR which manifest itself when compiling a config with no extension
This commit is contained in:
Jacob Chang authored and GitHub committed 2017-05-26 13:11:15 -07:00
1 parent 618468a06b
commit e3e77d68e6
2 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -794,5 +794,5 @@ class CSRFile(perfEventSets: EventSets = new EventSets(Seq()))(implicit p: Param
}
}
def formEPC(x: UInt) = ~(~x | Cat(!reg_misa('c'-'a'), UInt(1)))
def isaStringToMask(s: String) = s.map(x => 1 << (x - 'A')).reduce(_|_)
def isaStringToMask(s: String) = s.map(x => 1 << (x - 'A')).foldLeft(0)(_|_)
}