Method of compiling program, storage medium, and apparatus

US2016291975A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016291975-A1
Application numberUS-201615010089-A
CountryUS
Kind codeA1
Filing dateJan 29, 2016
Priority dateMar 30, 2015
Publication dateOct 6, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method of compiling a program that executes a plurality of unit processes in parallel, the method includes: replacing a load instruction of a volatile variable, the volatile variable being a variable included in the program and having a possibility of being overwritten by another unit process, with a beginning load instruction indicating a beginning of a range of transactionization and a load, and an end instruction indicating an ending of the range of the transactionization; moving the beginning load instruction before a position of the load instruction of the volatile variable in the program by instruction scheduling; and generating a beginning instruction indicating a beginning of a range of the transactionization and a load instruction of the volatile variable from the moved beginning load instruction.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method of compiling a program that executes a plurality of unit processes in parallel, the method comprising: replacing a load instruction of a volatile variable, the volatile variable being a variable included in the program and having a possibility of being overwritten by another unit process, with a beginning load instruction indicating a beginning of a range of transactionization and a load, and an end instruction indicating an ending of the range of the transactionization; moving the beginning load instruction before a position of the load instruction of the volatile variable in the program by instruction scheduling; and generating a beginning instruction indicating a beginning of a range of the transactionization and a load instruction of the volatile variable from the moved beginning load instruction. 2 . The method according to claim 1 , wherein the moving moves the beginning load instruction to a preceding merge basic block. 3 . The method according to claim 1 , wherein the moving moves the beginning load instruction to a beginning of a basic block. 4 . The method according to claim 1 , wherein the moving moves the beginning load instruction such that a predetermined number of instructions are included between the beginning load instruction and the end instruction. 5 . The method according to claim 1 , wherein the transactionization is executed by a hardware transactional memory. 6 . A non-transitory storage medium storing a compiling program for causing a computer to execute a process compiling a program that executes a plurality of unit processes in parallel, the process comprising: replacing a load instruction of a volatile variable, the volatile variable being a variable included in the program and having a possibility of being overwritten by another unit process, with a beginning load instruction indicating a beginning of a range of transactionization and a load, and an end instruction indicating an ending of the range of the transactionization; moving the beginning load instruction before a position of the load instruction of the volatile variable in the program by instruction scheduling; and generating a beginning instruction indicating a beginning of a range of the transactionization and a load instruction of the volatile variable from the moved beginning load instruction. 7 . The non-transitory storage medium according to claim 6 , wherein the moving moves the beginning load instruction to a preceding merge basic block. 8 . The non-transitory storage medium according to claim 6 , wherein the moving moves the beginning load instruction to a beginning of a basic block. 9 . The non-transitory storage medium according to claim 1 , wherein the moving moves the beginning load instruction such that a predetermined number of instructions are included between the beginning load instruction and the end instruction. 10 . The non-transitory storage medium according to claim 1 , wherein the transactionization is executed by a hardware transactional memory. 11 . An apparatus comprising: a memory configured to store a program that executes a plurality of unit processes in parallel as a target for compiling; and a processor coupled to the memory and configured to: replace a load instruction of a volatile variable, the volatile variable being a variable included in the program and having a possibility of being overwritten by another unit process, with a beginning load instruction indicating a beginning of a range of transactionization and a load, and an end instruction indicating an ending of the range of the transactionization; move the beginning load instruction before a position of the load instruction of the volatile variable in the program by instruction scheduling; and generate a beginning instruction indicating a beginning of a range of the transactionization and a load instruction of the volatile variable from the moved beginning load instruction. 12 . The apparatus according to claim 11 , wherein the processor is configured to move the beginning load instruction to a preceding merge basic block. 13 . The apparatus according to claim 11 , wherein the processor is configured to move the beginning load instruction to a beginning of a basic block. 14 . The apparatus according to claim 11 , wherein the processor is configured to move the beginning load instruction such that a predetermined number of instructions are included between the beginning load instruction and the end instruction. 15 . The apparatus according to claim 11 , wherein the transactionization is executed by a hardware transactional memory.

Assignees

Inventors

Classifications

  • Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE · CPC title

  • Data distribution · CPC title

  • Synchronisation or serialisation instructions · CPC title

  • Prefetch instructions; cache control instructions · CPC title

  • Parallelism detection · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016291975A1 cover?
A method of compiling a program that executes a plurality of unit processes in parallel, the method includes: replacing a load instruction of a volatile variable, the volatile variable being a variable included in the program and having a possibility of being overwritten by another unit process, with a beginning load instruction indicating a beginning of a range of transactionization and a load…
Who is the assignee on this patent?
Fujitsu Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/30032. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Oct 06 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).