From: Johnny Richard <johnny@johnnyrichard.com>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Johnny Richard <johnny@johnnyrichard.com>
Subject: [PATCH olang v2 0/2] codegen: x86_64: implement binary operations
Date: Sun, 25 Aug 2024 15:16:42 +0200 [thread overview]
Message-ID: <20240825132523.253490-1-johnny@johnnyrichard.com> (raw)
NOTES
This patchset supersedes v1:
- Message-ID: 20240427121832.203068-1-johnny@johnnyrichard.com
Johnny Richard (2):
codegen: x86_64: extract function to emit expression
codegen: x86_64: implement binary operations
src/codegen_linux_x86_64.c | 255 +++++++++++++++++-
src/parser.c | 2 +-
.../tests/0002_binary_operator_addition.ol | 22 ++
.../0003_binary_operator_multiplication.ol | 22 ++
.../tests/0004_binary_operator_division.ol | 22 ++
.../tests/0005_binary_operator_reminder.ol | 22 ++
.../tests/0006_binary_operator_subtraction.ol | 22 ++
.../tests/0007_binary_operator_eq.ol | 22 ++
.../tests/0008_binary_operator_lt.ol | 22 ++
.../tests/0009_binary_operator_gt.ol | 22 ++
.../tests/0010_binary_operator_neq.ol | 22 ++
.../tests/0011_binary_operator_leq.ol | 22 ++
.../tests/0012_binary_operator_geq.ol | 22 ++
.../tests/0013_binary_operator_lshift.ol | 22 ++
.../tests/0014_binary_operator_rshift.ol | 22 ++
.../tests/0015_binary_operator_xor.ol | 22 ++
.../tests/0016_binary_operator_and.ol | 22 ++
.../tests/0017_binary_operator_or.ol | 22 ++
.../tests/0018_binary_operator_logical_and.ol | 22 ++
.../tests/0019_binary_operator_logical_or.ol | 22 ++
20 files changed, 645 insertions(+), 8 deletions(-)
create mode 100644 tests/integration/tests/0002_binary_operator_addition.ol
create mode 100644 tests/integration/tests/0003_binary_operator_multiplication.ol
create mode 100644 tests/integration/tests/0004_binary_operator_division.ol
create mode 100644 tests/integration/tests/0005_binary_operator_reminder.ol
create mode 100644 tests/integration/tests/0006_binary_operator_subtraction.ol
create mode 100644 tests/integration/tests/0007_binary_operator_eq.ol
create mode 100644 tests/integration/tests/0008_binary_operator_lt.ol
create mode 100644 tests/integration/tests/0009_binary_operator_gt.ol
create mode 100644 tests/integration/tests/0010_binary_operator_neq.ol
create mode 100644 tests/integration/tests/0011_binary_operator_leq.ol
create mode 100644 tests/integration/tests/0012_binary_operator_geq.ol
create mode 100644 tests/integration/tests/0013_binary_operator_lshift.ol
create mode 100644 tests/integration/tests/0014_binary_operator_rshift.ol
create mode 100644 tests/integration/tests/0015_binary_operator_xor.ol
create mode 100644 tests/integration/tests/0016_binary_operator_and.ol
create mode 100644 tests/integration/tests/0017_binary_operator_or.ol
create mode 100644 tests/integration/tests/0018_binary_operator_logical_and.ol
create mode 100644 tests/integration/tests/0019_binary_operator_logical_or.ol
base-commit: 7b032597a6009614c8032e88f16803555f41df71
--
2.46.0
next reply other threads:[~2024-08-25 13:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-25 13:16 Johnny Richard [this message]
2024-08-25 13:16 ` [PATCH olang v2 1/2] codegen: x86_64: extract function to emit expression Johnny Richard
2024-08-25 13:16 ` [PATCH olang v2 2/2] codegen: x86_64: implement binary operations Johnny Richard
2024-08-25 13:26 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-09-05 22:49 ` [PATCH olang v2 0/2] codegen: x86_64: implement binary operations Carlos Maniero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240825132523.253490-1-johnny@johnnyrichard.com \
--to=johnny@johnnyrichard.com \
--cc=~johnnyrichard/olang-devel@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.johnnyrichard.com/olang.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox