src/share/vm/opto/divnode.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,35 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ // Portions of code courtesy of Clifford Click // Optimization - Graph Style - #include "incls/_precompiled.incl" - #include "incls/_divnode.cpp.incl" #include <math.h> //----------------------magic_int_divide_constants----------------------------- // Compute magic multiplier and shift constant for converting a 32 bit divide // by constant into a multiply/shift/add series. Return false if calculations --- 20,44 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #include "precompiled.hpp" + #include "memory/allocation.inline.hpp" + #include "opto/addnode.hpp" + #include "opto/connode.hpp" + #include "opto/divnode.hpp" + #include "opto/machnode.hpp" + #include "opto/matcher.hpp" + #include "opto/mulnode.hpp" + #include "opto/phaseX.hpp" + #include "opto/subnode.hpp" + // Portions of code courtesy of Clifford Click // Optimization - Graph Style #include <math.h> //----------------------magic_int_divide_constants----------------------------- // Compute magic multiplier and shift constant for converting a 32 bit divide // by constant into a multiply/shift/add series. Return false if calculations