Skip to content

Some minor (potential) size opts #1

@emoon

Description

@emoon

Hi,

I noticed some minor size opts that can be done as part of the sin-table generation

https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L70

At this point it would be possible to do

neg.w d0

instead as d0 is -16384 after this loop.

Also here these two pointers (+ the offsets) points to the same address so actually one write is needed.

https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L74-L75

Now given that the code above here

https://github.com/askeksa/Cinter/blob/master/player/Cinter4.S#L63-L64 looks identical maybe the compressor will actually do a better job if it stays the same so I'm not as sure about that one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions