< prev index next >

src/hotspot/cpu/ppc/stubRoutines_ppc.hpp

Print this page

37 #define DEFINE_BLOB_SIZE(blob_name, size) \
38   _ ## blob_name ## _code_size = size,
39 
40 enum platform_dependent_constants {
41   STUBGEN_ARCH_BLOBS_DO(DEFINE_BLOB_SIZE)
42 };
43 
44 #undef DEFINE_BLOB_SIZE
45 
46 // CRC32 Intrinsics.
47 #define CRC32_TABLE_SIZE (4 * 256)
48 #define REVERSE_CRC32_POLY  0xEDB88320
49 #define REVERSE_CRC32C_POLY 0x82F63B78
50 #define INVERSE_REVERSE_CRC32_POLY  0x1aab14226ull
51 #define INVERSE_REVERSE_CRC32C_POLY 0x105fd79bdull
52 #define CRC32_UNROLL_FACTOR 2048
53 #define CRC32_UNROLL_FACTOR2 8
54 
55 class ppc {
56   friend class StubGenerator;

57 
58  private:
59  public:
60   static address generate_crc_constants(juint reverse_poly);
61 };
62 
63 #endif // CPU_PPC_STUBROUTINES_PPC_HPP

37 #define DEFINE_BLOB_SIZE(blob_name, size) \
38   _ ## blob_name ## _code_size = size,
39 
40 enum platform_dependent_constants {
41   STUBGEN_ARCH_BLOBS_DO(DEFINE_BLOB_SIZE)
42 };
43 
44 #undef DEFINE_BLOB_SIZE
45 
46 // CRC32 Intrinsics.
47 #define CRC32_TABLE_SIZE (4 * 256)
48 #define REVERSE_CRC32_POLY  0xEDB88320
49 #define REVERSE_CRC32C_POLY 0x82F63B78
50 #define INVERSE_REVERSE_CRC32_POLY  0x1aab14226ull
51 #define INVERSE_REVERSE_CRC32C_POLY 0x105fd79bdull
52 #define CRC32_UNROLL_FACTOR 2048
53 #define CRC32_UNROLL_FACTOR2 8
54 
55 class ppc {
56   friend class StubGenerator;
57   friend class StubRoutines;
58 
59  private:
60  public:
61   static address generate_crc_constants(juint reverse_poly);
62 };
63 
64 #endif // CPU_PPC_STUBROUTINES_PPC_HPP
< prev index next >