aboutsummaryrefslogtreecommitdiff
### store 2 values to memory, load them back, add them and store the result

set_sp 0

## compare 1234567890 to itself

const 1234567890
const 1234567890
# yields 1
eq
store h1EEE0

const 1234567890
const 1234567890
# yields 0
lt
store h1EEE4

const 1234567890
const 1234567890
# yields 0
ult
store h1EEE8

const 1234567890
const 1234567890
# yields 1
le
store h1EEEC

const 1234567890
const 1234567890
# yields 1
ule
store h1EEF0

const 1234567890
const 1234567890
# yields 0
gt
store h1EEF4

const 1234567890
const 1234567890
# yields 0
ugt
store h1EEF8

const 1234567890
const 1234567890
# yields 1
ge
store h1EEFC

const 1234567890
const 1234567890
# yields 1
uge
store h1EF00


## compare hFFFFFFFF to h7FFFFFFF
## hFFFFFFFF will be treated as negative for signed operations

const hFFFFFFFF
const h7FFFFFFF
# yields 0
eq
store h1F0E0

const hFFFFFFFF
const h7FFFFFFF
# yields 1
lt
store h1F0E4

const hFFFFFFFF
const h7FFFFFFF
# yields 0
ult
store h1F0E8

const hFFFFFFFF
const h7FFFFFFF
# yields 1
le
store h1F0EC

const hFFFFFFFF
const h7FFFFFFF
# yields 0
ule
store h1F0F0

const hFFFFFFFF
const h7FFFFFFF
# yields 0
gt
store h1F0F4

const hFFFFFFFF
const h7FFFFFFF
# yields 1
ugt
store h1F0F8

const hFFFFFFFF
const h7FFFFFFF
# yields 0
ge
store h1F0FC

const hFFFFFFFF
const h7FFFFFFF
# yields 1
uge
store h1F100


## compare 18532 to 234, no signedness magic here

const 18532
const 234
# yields 0
eq
store h1F2E0

const 18532
const 234
# yields 0
lt
store h1F2E4

const 18532
const 234
# yields 0
ult
store h1F2E8

const 18532
const 234
# yields 0
le
store h1F2EC

const 18532
const 234
# yields 0
ule
store h1F2F0

const 18532
const 234
# yields 1
gt
store h1F2F4

const 18532
const 234
# yields 1
ugt
store h1F2F8

const 18532
const 234
# yields 1
ge
store h1F2FC

const 18532
const 234
# yields 1
uge
store h1F300


## compare 123 to -1294081
## -1294081 will be interpreted as big positive number for unsigned operations

const 123
const -1294081
# yields 0
eq
store h1F4E0

const 123
const -1294081
# yields 0
lt
store h1F4E4

const 123
const -1294081
# yields 1
ult
store h1F4E8

const 123
const -1294081
# yields 0
le
store h1F4EC

const 123
const -1294081
# yields 1
ule
store h1F4F0

const 123
const -1294081
# yields 1
gt
store h1F4F4

const 123
const -1294081
# yields 0
ugt
store h1F4F8

const 123
const -1294081
# yields 1
ge
store h1F4FC

const 123
const -1294081
# yields 0
uge
store h1F500


halt
rease-resource-limits. Update check phase. [propagated-inputs]: Remove python-jinja2. 2023-03-30services: base: Deprecate 'pam-limits-service' procedure.Bruno Victal * doc/guix.texi (Base Services): Replace pam-limits-service with pam-limits-service-type. * gnu/packages/benchmark.scm (python-locust)[description]: Update index anchor to manual. * gnu/services/base.scm (pam-limits-service-type): Set default value. (pam-limits-service): Deprecate procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2023-01-08gnu: Add vkmark.Tomasz Jeneralczyk * gnu/packages/benchmark.scm (vkmark): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-12-11gnu: fio: Update to 3.33.Tobias Geerinckx-Rice * gnu/packages/benchmark.scm (fio): Update to 3.33. 2022-10-22gnu: fio: Update to 3.32.Greg Hogan * gnu/packages/benchmark.scm (fio): Update to 3.32. Signed-off-by: Christopher Baines <mail@cbaines.net> 2022-09-02gnu: phoronix-test-suite: Update to 10.8.4.Maxim Cournoyer * gnu/packages/benchmark.scm (phoronix-test-suite): Update to 10.8.4. 2022-09-02gnu: phoronix-test-suite: Address FSDG problems.Maxim Cournoyer Fixes <https://issues.guix.gnu.org/56900>. * gnu/packages/benchmark.scm (phoronix-test-suite) [source]: Add a snippet to mark mis-licensed test profiles as non-free. 2022-08-14gnu: fio: Update to 3.31.Tobias Geerinckx-Rice * gnu/packages/benchmark.scm (fio): Update to 3.31. 2022-07-31gnu: qttools: Rename to qttools-5.Maxim Cournoyer Automated with: git grep -l qttools | xargs sed 's/\bqttools\b/\0-5/g' -i git checkout NEWS 2022-07-10gnu: phoronix-test-suite: Use latest version of gcc-toolchain.Maxim Cournoyer This is less likely to conflict with a user installed gcc-toolchain, unless they installed a specific version of it. * gnu/packages/benchmark.scm (gcc-toolchain*): Use gcc-toolchain-12 instead of gcc-toolchain. 2022-06-26gnu: python-setuptools-scm: Move to (gnu packages python-build).Maxim Cournoyer * gnu/packages/python-xyz.scm (python-setuptools-scm): Move from here... * gnu/packages/python-build.scm (python-setuptools-scm): ... to here. 2022-06-22gnu: Add phoronix-test-suite.Maxim Cournoyer * gnu/packages/patches/phoronix-test-suite-fsdg.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/benchmark.scm (phoronix-test-suite): New variable. (gcc-toolchain*): Likewise. 2022-05-12gnu: python-locust: Update to 2.8.6.Maxim Cournoyer * gnu/packages/benchmark.scm (python-locust): Update to 2.8.6. [phases]{relax-requirements}: New phase. {check}: Skip the test_distributed_shape test. [propagated-inputs]: Add python-jinja2. 2022-05-01gnu: fio: Use G-expressions.Tobias Geerinckx-Rice * gnu/packages/benchmark.scm (fio)[arguments]: Rewrite as G-expressions. 2022-05-01gnu: fio: Update to 3.30.Tobias Geerinckx-Rice * gnu/packages/benchmark.scm (fio): Update to 3.30. 2022-03-18gnu: Add sysbench.Maxim Cournoyer * gnu/packages/benchmark.scm (sysbench): New variable.