Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/flickernoise
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9523567
Choose a base ref
...
head repository: m-labs/flickernoise
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ccdd5f1
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 1, 2011

  1. compiler: use default FPVM scheduler

    Sebastien Bourdeauducq committed Oct 1, 2011
    Copy the full SHA
    461f9ca View commit details
  2. Merge branch 'master' of github.com:milkymist/flickernoise

    Sebastien Bourdeauducq committed Oct 1, 2011
    Copy the full SHA
    ccdd5f1 View commit details
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/compiler.c
6 changes: 3 additions & 3 deletions src/compiler.c
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
#include <string.h>

#include <fpvm/fpvm.h>
#include <fpvm/gfpus.h>
#include <fpvm/schedulers.h>
#include <fpvm/pfpu.h>

#include "compiler.h"
@@ -284,7 +284,7 @@ static bool finalize_pfv(struct compiler_sc *sc)

static bool schedule_pfv(struct compiler_sc *sc)
{
sc->p->perframe_prog_length = gfpus_schedule(&sc->pfv_fragment,
sc->p->perframe_prog_length = fpvm_default_schedule(&sc->pfv_fragment,
(unsigned int *)sc->p->perframe_prog, (unsigned int *)sc->p->perframe_regs);
if(sc->p->perframe_prog_length < 0) {
comp_report(sc, "per-frame VLIW scheduling failed");
@@ -477,7 +477,7 @@ static int finalize_pvv(struct compiler_sc *sc)

static bool schedule_pvv(struct compiler_sc *sc)
{
sc->p->pervertex_prog_length = gfpus_schedule(&sc->pvv_fragment,
sc->p->pervertex_prog_length = fpvm_default_schedule(&sc->pvv_fragment,
(unsigned int *)sc->p->pervertex_prog, (unsigned int *)sc->p->pervertex_regs);
if(sc->p->pervertex_prog_length < 0) {
comp_report(sc, "per-vertex VLIW scheduling failed");