Mercurial > people > andrew > aarch32 > hotspot
changeset 9072:03e95de3bc18
8213419: [AArch32] C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1
author | andrew |
---|---|
date | Mon, 29 Apr 2019 02:22:56 +0100 |
parents | 9eb7ef8252bb |
children | 81a383ab33ee |
files | src/cpu/aarch32/vm/assembler_aarch32.hpp |
diffstat | 1 files changed, 0 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch32/vm/assembler_aarch32.hpp Sat Apr 27 17:07:13 2019 +0100 +++ b/src/cpu/aarch32/vm/assembler_aarch32.hpp Mon Apr 29 02:22:56 2019 +0100 @@ -264,29 +264,6 @@ #define starti Instruction_aarch32 do_not_use(this); set_current(&do_not_use) -// abs methods which cannot overflow and so are well-defined across -// the entire domain of integer types. -static inline unsigned int uabs(unsigned int n) { - union { - unsigned int result; - int value; - }; - result = n; - if (value < 0) result = -result; - return result; -} -static inline unsigned long uabs(unsigned long n) { - union { - unsigned long result; - long value; - }; - result = n; - if (value < 0) result = -result; - return result; -} -static inline unsigned long uabs(long n) { return uabs((unsigned long)n); } -static inline unsigned long uabs(int n) { return uabs((unsigned int)n); } - #define S_DFLT ::lsl() #define C_DFLT AL