< prev index next >

src/hotspot/cpu/s390/assembler_s390.hpp

Print this page
rev 54542 : 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by:

*** 1,8 **** /* * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2016, 2017 SAP SE. 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,8 ---- /* * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2016, 2019 SAP SE. 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.
*** 1532,1548 **** // Calculate length of instruction. static int instr_len(unsigned char *instr); // Longest instructions are 6 bytes on z/Architecture. ! static int instr_maxlen() { return 6; } // Average instruction is 4 bytes on z/Architecture (just a guess). ! static int instr_avglen() { return 4; } // Shortest instructions are 2 bytes on z/Architecture. ! static int instr_minlen() { return 2; } // Move instruction at pc right-justified into passed long int. // Return instr len in bytes as function result. static unsigned int get_instruction(unsigned char *pc, unsigned long *instr); --- 1532,1548 ---- // Calculate length of instruction. static int instr_len(unsigned char *instr); // Longest instructions are 6 bytes on z/Architecture. ! static unsigned int instr_maxlen() { return 6; } // Average instruction is 4 bytes on z/Architecture (just a guess). ! static unsigned int instr_avglen() { return 4; } // Shortest instructions are 2 bytes on z/Architecture. ! static unsigned int instr_minlen() { return 2; } // Move instruction at pc right-justified into passed long int. // Return instr len in bytes as function result. static unsigned int get_instruction(unsigned char *pc, unsigned long *instr);
< prev index next >