[all-commits] [llvm/llvm-project] 2f8178: [ARM][FPEnv] Lowering of fpmode intrinsics (#74054)
Serge Pavlov via All-commits
all-commits at lists.llvm.org
Mon Dec 18 03:57:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f8178806770b549c054b02ae3556b454cdeb722
https://github.com/llvm/llvm-project/commit/2f8178806770b549c054b02ae3556b454cdeb722
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/ARM/ARMInstrVFP.td
M llvm/test/CodeGen/ARM/fpenv.ll
Log Message:
-----------
[ARM][FPEnv] Lowering of fpmode intrinsics (#74054)
LLVM intrinsics `get_fpmode`, `set_fpmode` and `reset_fpmode` operate
control modes, the bits of FP environment that affect FP operations. On
ARM these bits are in FPSCR together with the status bits. The
implementation of these intrinsics produces code close to that of
functions `fegetmode` and `fesetmode` from GLIBC.
Pull request: https://github.com/llvm/llvm-project/pull/74054
More information about the All-commits
mailing list