COMPILER GENERATION OF INSTRUCTION SEQUENCES FOR UNRESOLVED STORAGE DEVICES

    公开(公告)号:CA2346762A1

    公开(公告)日:2002-11-07

    申请号:CA2346762

    申请日:2001-05-07

    Applicant: IBM CANADA

    Inventor: STOODLEY KEVIN A

    Abstract: A compiler component for the generation of an optimal instruction sequence, the sequence including a compile-time unresolved reference to be resolved at runtime. The compiler generating a snippet list with entries corresponding to snippets defined for instructions includi ng unresolved compile-time references. A runtime helper routine being defined for resolving references at runtime. For each instruction with an unresolved reference, generating a snippet including dat a for identifying the reference and for permitting resolution of the reference at runtime by the runtime helper routine. The snippet also including a copy of the instruction containing the unresolved reference. The location in the compiled code for the unresolved instruction being written with a cal l instruction to the snippet. The runtime helper being invoked by the snippet at runtime to resol ve the references and to copy the unresolved code copy to the compiled code, with the references resolved.

    Control del funcionamiento de una facilidad de instrumentación en tiempo de ejecución desde un estado con menos privilegios

    公开(公告)号:ES2893826T3

    公开(公告)日:2022-02-10

    申请号:ES13761846

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Un método para habilitar y deshabilitar la ejecución de una facilidad de instrumentación en tiempo de ejecución en un procesador, el método comprende: buscar, mediante un procesador (106), una instrucción para que el procesador la ejecute en un estado con menos privilegios, la instrucción uno de una instrucción de facilidad de instrumentación en tiempo de ejecución desactivada (RIOFF) y una instrucción de facilidad instrumentación de tiempo de ejecución activada (RION); en base a la determinación, por parte del procesador, de que la facilidad de instrumentación en tiempo de ejecución permite ejecutar la instrucción en el estado con menos privilegios y que los controles asociados con la facilidad de instrumentación en tiempo de ejecución son válidos, ejecutar la instrucción, la ejecución comprende cualquiera de los siguientes: deshabilitar la facilidad de instrumentación en tiempo de ejecución basándose en la instrucción sea la instrucción de RIOFF, la deshabilitación incluye actualizar un bit de estado de facilidad de instrumentación en tiempo de ejecución en una palabra de estado de programa (PSW) del procesador para indicar que los datos de instrumentación en tiempo de ejecución no deben ser capturados por el procesador; y habilitar la facilidad de instrumentación en tiempo de ejecución basándose en que la instrucción sea la instrucción de RION, la habilitación incluye actualizar el bit de estado de la facilidad de instrumentación en tiempo de ejecución en la PSW para indicar que los datos de instrumentación en tiempo de ejecución deben ser capturados por el procesador, y caracterizado porque la instrucción es de un subproceso actualmente en ejecución en un entorno multiproceso, y porque la PSW está asociada con el subproceso en ejecución, y un estado de la facilidad de instrumentación en tiempo de ejecución para el subproceso en ejecución se mantiene en la PSW a través de los envíos del subproceso de ejecución.

    Controlling operation of a run-time instrumentation facility from a lesser-privileged state

    公开(公告)号:AU2013233830B2

    公开(公告)日:2016-06-23

    申请号:AU2013233830

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Embodiments of the invention relate to enabling and disabling execution of a run-time instrumentation facility. An instruction for execution by the processor in a lesser privileged state is fetched by the processor. It is determined, by the processor, that the run-time instrumentation facility permits execution of the instruction in the lesser-privileged state and that controls associated with the run-time instrumentation facility are valid. The run-time instrumentation facility is disabled based on the instruction being a run-time instrumentation facility off (RIOFF) instruction. The disabling includes updating a bit in a program status word (PSW) of the processor to indicate that run-time instrumentation data should not be captured by the processor. The run-time instrumentation facility is enabled based on the instruction being a run-time instrumentation facility on (RION) instruction. The enabling includes updating the bit in the PSW to indicate that run-time instrumentation data should be captured by the processor.

    Run-time instrumentation directed sampling

    公开(公告)号:AU2013233831B2

    公开(公告)日:2016-05-12

    申请号:AU2013233831

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Embodiments of the invention relate to implementing run-time instrumentation directed sampling. An aspect of the invention includes a method for implementing run-time instrumentation directed sampling. The method includes fetching a run-time instrumentation next (RINEXT) instruction from an instruction stream. The instruction stream includes the RINEXT instruction followed by a next sequential instruction (NSI) in program order. The method further includes executing the RINEXT instruction by a processor. The executing includes determining whether a current run-time instrumentation state enables setting a sample point for reporting run-time instrumentation information during program execution. Based on the current run-time instrumentation state enabling setting the sample point, the NSI is a sample instruction for causing a run-time instrumentation event. Based on executing the NSI sample instruction, the run-time instrumentation event causes recording of run-time instrumentation information into a run-time instrumentation program buffer as a reporting group.

    CONTROLLING OPERATION OF A RUN-TIME INSTRUMENTATION FACILITY FROM A LESSER-PRIVILEGED STATE

    公开(公告)号:CA2866792A1

    公开(公告)日:2013-09-19

    申请号:CA2866792

    申请日:2013-03-01

    Applicant: IBM

    Abstract: Embodiments of the invention relate to enabling and disabling execution of a run-time instrumentation facility. An instruction for execution by the processor in a lesser privileged state is fetched by the processor. It is determined, by the processor, that the run-time instrumentation facility permits execution of the instruction in the lesser-privileged state and that controls associated with the run-time instrumentation facility are valid. The run-time instrumentation facility is disabled based on the instruction being a run-time instrumentation facility off (RIOFF) instruction. The disabling includes updating a bit in a program status word (PSW) of the processor to indicate that run-time instrumentation data should not be captured by the processor. The run-time instrumentation facility is enabled based on the instruction being a run-time instrumentation facility on (RION) instruction. The enabling includes updating the bit in the PSW to indicate that run-time instrumentation data should be captured by the processor.

Patent Agency Ranking