[Git][ghc/ghc][wip/supersven/riscv-vectors] Fix whitespace
Sven Tennie pushed to branch wip/supersven/riscv-vectors at Glasgow Haskell Compiler / GHC Commits: be50e5e8 by Sven Tennie at 2025-07-20T14:47:39+02:00 Fix whitespace - - - - - 2 changed files: - compiler/GHC/CmmToAsm/RV64/CodeGen.hs - rts/CheckVectorSupport.c Changes: ===================================== compiler/GHC/CmmToAsm/RV64/CodeGen.hs ===================================== @@ -1380,7 +1380,6 @@ getRegister' config plat expr = -- Vector operations MO_VF_Extract _length w -> vecExtract ((scalarFormatFormat . floatScalarFormat) w) MO_V_Extract _length w -> vecExtract ((scalarFormatFormat . intScalarFormat) w) - MO_VF_Add length w -> vecOp (floatVecFormat length w) VADD MO_V_Add length w -> vecOp (intVecFormat length w) VADD MO_VF_Sub length w -> vecOp (floatVecFormat length w) VSUB @@ -1398,8 +1397,8 @@ getRegister' config plat expr = -- TODO: This is the general implementation of MO_V_Shuffle. There's a -- lot of room for optimizations left for special cases. See the X86 -- NCG for examples. - MO_V_Shuffle length w idxs -> genericVectorShuffle intVecFormat length w idxs - MO_VF_Shuffle length w idxs-> genericVectorShuffle floatVecFormat length w idxs + MO_V_Shuffle length w idxs -> genericVectorShuffle intVecFormat length w idxs + MO_VF_Shuffle length w idxs -> genericVectorShuffle floatVecFormat length w idxs _e -> panic $ "Missing operation " ++ show expr -- Generic ternary case. ===================================== rts/CheckVectorSupport.c ===================================== @@ -96,7 +96,7 @@ int checkVectorSupport(void) { sigemptyset(&sa.sa_mask); sa.sa_flags = 0; sigaction(SIGILL, &sa, &old_sa); - + unsigned vlenb = 0; if (sigsetjmp(jmpbuf, 1) == 0) { // Try to execute a vector instruction View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/be50e5e89425932d4553cbf660e66e6d... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/be50e5e89425932d4553cbf660e66e6d... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Sven Tennie (@supersven)