Commits on Source (15)
-
Alexander Kaznacheev authored
return NULL in my_mmap in a case of darwin_HOST_OS to make it work on iOS. It allows more attempts for osTryReserveHeapMemory. On macos it succeeds on the first try but ios doesn't give 256GB (0x4000000000) to allocate
-
Alexander Kaznacheev authored
Add arbitraryHeapStart flag. It allows to allocate the memory block anywhere, not only above the 8 GB. Without it we can get an inifite loop in osReserveHeapMemory because ios sometimes doesn't allocate memory below the 8 GB
-
Alexander Kaznacheev authored
Apple doc says: "The platforms reserve register x18. Don’t use this register." https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms Another ios related doc says: x18 platform register (reserved, periodically zeroed by XNU) https://github.com/Siguza/ios-resources/blob/master/bits/arm64.md
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
ARM CPUs before v8.3-a doesn't support `ldapr` instruction which is generated from __atomic_load_n(ptr, __ATOMIC_ACQUIRE). And -march=armv8-a+norcpc disables this feature.
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
-
Alexander Kaznacheev authored
Showing
- compiler/GHC/Driver/Make.hs 3 additions, 1 deletioncompiler/GHC/Driver/Make.hs
- compiler/GHC/Driver/MultilineStrings.hs 35 additions, 0 deletionscompiler/GHC/Driver/MultilineStrings.hs
- compiler/GHC/Driver/Pipeline/Execute.hs 3 additions, 1 deletioncompiler/GHC/Driver/Pipeline/Execute.hs
- compiler/GHC/Driver/SourcePatch.hs 23 additions, 0 deletionscompiler/GHC/Driver/SourcePatch.hs
- compiler/GHC/Driver/StringInterpolation.hs 51 additions, 0 deletionscompiler/GHC/Driver/StringInterpolation.hs
- compiler/GHC/Driver/TrailingComma.hs 13 additions, 0 deletionscompiler/GHC/Driver/TrailingComma.hs
- compiler/ghc.cabal.in 4 additions, 0 deletionscompiler/ghc.cabal.in
- docs/users_guide/runtime_control.rst 12 additions, 0 deletionsdocs/users_guide/runtime_control.rst
- hadrian/build-cabal 2 additions, 2 deletionshadrian/build-cabal
- hadrian/src/Settings/Packages.hs 1 addition, 0 deletionshadrian/src/Settings/Packages.hs
- libraries/base/src/GHC/RTS/Flags.hsc 3 additions, 0 deletionslibraries/base/src/GHC/RTS/Flags.hsc
- rts/RtsFlags.c 10 additions, 0 deletionsrts/RtsFlags.c
- rts/include/rts/Flags.h 1 addition, 0 deletionsrts/include/rts/Flags.h
- rts/posix/OSMem.c 4 additions, 2 deletionsrts/posix/OSMem.c
compiler/GHC/Driver/MultilineStrings.hs
0 → 100644
compiler/GHC/Driver/SourcePatch.hs
0 → 100644
compiler/GHC/Driver/StringInterpolation.hs
0 → 100644
compiler/GHC/Driver/TrailingComma.hs
0 → 100644