Mercurial > hg > truffle
comparison src/share/vm/opto/divnode.cpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | ae065c367d93 |
children | 121e5708ae96 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #include "precompiled.hpp" | |
26 #include "memory/allocation.inline.hpp" | |
27 #include "opto/addnode.hpp" | |
28 #include "opto/connode.hpp" | |
29 #include "opto/divnode.hpp" | |
30 #include "opto/machnode.hpp" | |
31 #include "opto/matcher.hpp" | |
32 #include "opto/mulnode.hpp" | |
33 #include "opto/phaseX.hpp" | |
34 #include "opto/subnode.hpp" | |
35 | |
25 // Portions of code courtesy of Clifford Click | 36 // Portions of code courtesy of Clifford Click |
26 | 37 |
27 // Optimization - Graph Style | 38 // Optimization - Graph Style |
28 | 39 |
29 #include "incls/_precompiled.incl" | |
30 #include "incls/_divnode.cpp.incl" | |
31 #include <math.h> | 40 #include <math.h> |
32 | 41 |
33 //----------------------magic_int_divide_constants----------------------------- | 42 //----------------------magic_int_divide_constants----------------------------- |
34 // Compute magic multiplier and shift constant for converting a 32 bit divide | 43 // Compute magic multiplier and shift constant for converting a 32 bit divide |
35 // by constant into a multiply/shift/add series. Return false if calculations | 44 // by constant into a multiply/shift/add series. Return false if calculations |