equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2012, 2018 SAP SE. All rights reserved. |
3 * Copyright (c) 2012, 2018 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #ifndef CPU_PPC_VM_ASSEMBLER_PPC_INLINE_HPP |
26 #ifndef CPU_PPC_ASSEMBLER_PPC_INLINE_HPP |
27 #define CPU_PPC_VM_ASSEMBLER_PPC_INLINE_HPP |
27 #define CPU_PPC_ASSEMBLER_PPC_INLINE_HPP |
28 |
28 |
29 #include "asm/assembler.inline.hpp" |
29 #include "asm/assembler.inline.hpp" |
30 #include "asm/codeBuffer.hpp" |
30 #include "asm/codeBuffer.hpp" |
31 #include "code/codeCache.hpp" |
31 #include "code/codeCache.hpp" |
32 |
32 |
1125 inline void Assembler::load_const32(Register d, int i) { |
1125 inline void Assembler::load_const32(Register d, int i) { |
1126 lis(d, i >> 16); |
1126 lis(d, i >> 16); |
1127 ori(d, d, i & 0xFFFF); |
1127 ori(d, d, i & 0xFFFF); |
1128 } |
1128 } |
1129 |
1129 |
1130 #endif // CPU_PPC_VM_ASSEMBLER_PPC_INLINE_HPP |
1130 #endif // CPU_PPC_ASSEMBLER_PPC_INLINE_HPP |